fix(webui): let users turn off failed channels (#6748)

This commit is contained in:
chengyongru authored and GitHub committed 2026-11-22 14:00:14 +08:00
1 parent 0dc8679edc
commit b65c3ac7fa
6 files changed
+39 -31

No files matched your search

@@ -207,10 +207,6 @@ export function channelIsRunning(feature: NanobotFeatureInfo): boolean {
return feature.runtime_status === "running";
}
export function channelToggleChecked(feature: NanobotFeatureInfo): boolean {
return feature.runtime_status === "running" || feature.runtime_status === "starting";
}
export function channelStatusLabel(
feature: NanobotFeatureInfo,
tx: (key: string, fallback: string) => string,