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