mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-15 15:45:27 +03:00
remove video tab if tracked object has no clip
This commit is contained in:
parent
5804a2da92
commit
49590272bb
@ -141,6 +141,11 @@ export default function SearchDetailDialog({
|
||||
views.splice(index, 1);
|
||||
}
|
||||
|
||||
if (!search.has_clip) {
|
||||
const index = views.indexOf("video");
|
||||
views.splice(index, 1);
|
||||
}
|
||||
|
||||
if (search.data.type != "object") {
|
||||
const index = views.indexOf("object lifecycle");
|
||||
views.splice(index, 1);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user