mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-05 18:55:23 +03:00
fix web tests
This commit is contained in:
parent
6cf4b5e7e2
commit
119c739147
@ -91,6 +91,6 @@ function Camera({ name, config }) {
|
||||
const { currentViewMode } = useViewMode();
|
||||
|
||||
return (
|
||||
<Card buttons={buttons} href={href} header={cleanName} icons={currentViewMode >= ViewModeTypes["admin"] ? icons : []} media={<CameraImage camera={name} stretch />} />
|
||||
<Card buttons={buttons} href={href} header={cleanName} icons={!currentViewMode || currentViewMode >= ViewModeTypes["admin"] ? icons : []} media={<CameraImage camera={name} stretch />} />
|
||||
);
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user