mirror of
https://github.com/DI0IK/homepage-plus.git
synced 2025-07-09 14:58:47 +00:00
Feature: Beszel service widget (#4251)
This commit is contained in:
parent
7c3dcf20ef
commit
912ae0adfc
10 changed files with 216 additions and 0 deletions
|
@ -368,6 +368,9 @@ export function cleanServiceGroups(groups) {
|
|||
repositoryId,
|
||||
userEmail,
|
||||
|
||||
// beszel
|
||||
systemId,
|
||||
|
||||
// calendar
|
||||
firstDayInWeek,
|
||||
integrations,
|
||||
|
@ -511,6 +514,10 @@ export function cleanServiceGroups(groups) {
|
|||
if (repositoryId) cleanedService.widget.repositoryId = repositoryId;
|
||||
}
|
||||
|
||||
if (type === "beszel") {
|
||||
if (systemId) cleanedService.widget.systemId = systemId;
|
||||
}
|
||||
|
||||
if (type === "coinmarketcap") {
|
||||
if (currency) cleanedService.widget.currency = currency;
|
||||
if (symbols) cleanedService.widget.symbols = symbols;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue