forked from Github/frigate
UI Improvements (#10972)
* Update web deps * Fix tooltip on storage page * Always show video controls even when zooming * Get video controls working when video is paused * Fix control hovering * Add loading indicator to logs tab * Show metrics correctly when hovering graph * Show loading indicators for previews on recordings page * Remove vitest update * remove unused * Make volume props optional
This commit is contained in:
@@ -92,6 +92,9 @@ export function ThresholdBarGraph({
|
||||
},
|
||||
tooltip: {
|
||||
theme: systemTheme || theme,
|
||||
y: {
|
||||
formatter: (val) => `${val}${unit}`,
|
||||
},
|
||||
},
|
||||
markers: {
|
||||
size: 0,
|
||||
@@ -118,7 +121,7 @@ export function ThresholdBarGraph({
|
||||
min: 0,
|
||||
},
|
||||
} as ApexCharts.ApexOptions;
|
||||
}, [graphId, threshold, systemTheme, theme, formatTime]);
|
||||
}, [graphId, threshold, unit, systemTheme, theme, formatTime]);
|
||||
|
||||
useEffect(() => {
|
||||
ApexCharts.exec(graphId, "updateOptions", options, true, true);
|
||||
@@ -190,7 +193,7 @@ export function StorageGraph({ graphId, used, total }: StorageGraphProps) {
|
||||
},
|
||||
},
|
||||
tooltip: {
|
||||
show: false,
|
||||
enabled: false,
|
||||
},
|
||||
xaxis: {
|
||||
axisBorder: {
|
||||
|
||||
Reference in New Issue
Block a user