feat: add typed qBittorrent scheduled polling
This commit is contained in:
@@ -16,6 +16,7 @@ import { ActionsTab } from "./ActionsTab";
|
||||
import { JobsTab } from "./JobsTab";
|
||||
import { UsersTab } from "./UsersTab";
|
||||
import { MessagingTab } from "./MessagingTab";
|
||||
import { QbittorrentTab } from "./QbittorrentTab";
|
||||
|
||||
export type ServiceTabComponent = ComponentType<{ instance: ServiceInstance }>;
|
||||
|
||||
@@ -57,6 +58,8 @@ export function serviceContentTabs(serviceType: string): ContentTab[] {
|
||||
return [{ label: "Alerts", Component: AlertsTab }];
|
||||
case "prometheus":
|
||||
return [{ label: "Metrics", Component: MetricsTab }];
|
||||
case "qbittorrent":
|
||||
return [{ label: "Speed", Component: QbittorrentTab }];
|
||||
default:
|
||||
return [];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user