Feature: Vikunja service widget (#4118)

Co-authored-by: shamoon <4887959+shamoon@users.noreply.github.com>
This commit is contained in:
vhsdream 2024-10-12 10:53:02 -04:00 committed by GitHub
parent e6c7692677
commit 20048ff567
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 131 additions and 0 deletions

View file

@ -478,6 +478,9 @@ export function cleanServiceGroups(groups) {
// unifi
site,
// vikunja
enableTaskList,
// wgeasy
threshold,
@ -633,6 +636,9 @@ export function cleanServiceGroups(groups) {
if (type === "lubelogger") {
if (vehicleID !== undefined) cleanedService.widget.vehicleID = parseInt(vehicleID, 10);
}
if (type === "vikunja") {
if (enableTaskList !== undefined) cleanedService.widget.enableTaskList = !!enableTaskList;
}
}
return cleanedService;