feat(dashboard): add AdGuard + Scrutiny frontend integration
This commit is contained in:
@@ -102,6 +102,22 @@ const DEFAULT_DATA = {
|
|||||||
{ name: "backup", mount: "/backup", used_gb: 201.4, total_gb: 2000, free_gb: 1798.6, usage_percent: 10.1, status: "online" },
|
{ name: "backup", mount: "/backup", used_gb: 201.4, total_gb: 2000, free_gb: 1798.6, usage_percent: 10.1, status: "online" },
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
|
adguard: {
|
||||||
|
source_name: "adguard",
|
||||||
|
source_status: "offline",
|
||||||
|
total_queries: 0,
|
||||||
|
blocked_queries: 0,
|
||||||
|
blocked_percent: 0,
|
||||||
|
avg_processing_ms: 0,
|
||||||
|
},
|
||||||
|
scrutiny: {
|
||||||
|
source_name: "scrutiny",
|
||||||
|
source_status: "offline",
|
||||||
|
overall_status: "offline",
|
||||||
|
devices: [],
|
||||||
|
failed_count: 0,
|
||||||
|
total_count: 0,
|
||||||
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
const listeners = new Set();
|
const listeners = new Set();
|
||||||
|
|||||||
Reference in New Issue
Block a user