remove video tab if tracked object has no clip

This commit is contained in:
Josh Hawkins 2024-10-30 06:10:35 -05:00
parent 5804a2da92
commit 49590272bb

View File

@ -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);