mirror of
https://github.com/gethomepage/homepage.git
synced 2026-04-03 16:51:20 -07:00
Feature: Dispatcharr widget (#6035)
Co-authored-by: shamoon <4887959+shamoon@users.noreply.github.com>
This commit is contained in:
@@ -294,6 +294,9 @@ export function cleanServiceGroups(groups) {
|
||||
// diskstation
|
||||
volume,
|
||||
|
||||
// dispatcharr
|
||||
enableActiveStreams,
|
||||
|
||||
// docker
|
||||
container,
|
||||
server,
|
||||
@@ -547,6 +550,9 @@ export function cleanServiceGroups(groups) {
|
||||
if (["diskstation", "qnap"].includes(type)) {
|
||||
if (volume) widget.volume = volume;
|
||||
}
|
||||
if (["dispatcharr"].includes(type)) {
|
||||
if (enableActiveStreams) widget.enableActiveStreams = !!JSON.parse(enableActiveStreams);
|
||||
}
|
||||
if (type === "gamedig") {
|
||||
if (gameToken) widget.gameToken = gameToken;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user