mirror of
https://github.com/gethomepage/homepage.git
synced 2026-02-07 16:30:52 +08:00
Feature: Dispatcharr widget (#6035)
Some checks failed
Crowdin Action / Crowdin Sync (push) Has been cancelled
Repository Maintenance / Stale (push) Has been cancelled
Repository Maintenance / Lock Old Threads (push) Has been cancelled
Repository Maintenance / Close Answered Discussions (push) Has been cancelled
Repository Maintenance / Close Outdated Discussions (push) Has been cancelled
Repository Maintenance / Close Unsupported Feature Requests (push) Has been cancelled
Docker CI / Linting Checks (push) Has been cancelled
Docker CI / Docker Build & Push (push) Has been cancelled
Some checks failed
Crowdin Action / Crowdin Sync (push) Has been cancelled
Repository Maintenance / Stale (push) Has been cancelled
Repository Maintenance / Lock Old Threads (push) Has been cancelled
Repository Maintenance / Close Answered Discussions (push) Has been cancelled
Repository Maintenance / Close Outdated Discussions (push) Has been cancelled
Repository Maintenance / Close Unsupported Feature Requests (push) Has been cancelled
Docker CI / Linting Checks (push) Has been cancelled
Docker CI / Docker Build & Push (push) Has been cancelled
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