mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-09-27 06:28:58 +03:00
Refactor Notices and System Health pane (#24243)
* refactor notices * show startup message for enrichments in health pane * tweaks
This commit is contained in:
committed by
Nicolas Mowen
parent
5cef6823a6
commit
7bc32fd4c9
@@ -1,10 +1,15 @@
|
||||
import HardwarePane from "@/components/health/HardwarePane";
|
||||
import NoticesPane from "@/components/health/NoticesPane";
|
||||
import type { NoticeFilter } from "@/types/health";
|
||||
|
||||
export default function HealthMetrics() {
|
||||
type HealthMetricsProps = {
|
||||
noticeFilter: NoticeFilter;
|
||||
};
|
||||
|
||||
export default function HealthMetrics({ noticeFilter }: HealthMetricsProps) {
|
||||
return (
|
||||
<div className="scrollbar-container mt-4 flex size-full flex-col gap-4 overflow-y-auto">
|
||||
<NoticesPane />
|
||||
<NoticesPane filter={noticeFilter} />
|
||||
<HardwarePane />
|
||||
</div>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user