From 20ce153d4bd53d83933295d7a77a4f5ebb0bbaec Mon Sep 17 00:00:00 2001 From: Josh Hawkins <32435876+hawkeye217@users.noreply.github.com> Date: Wed, 30 Oct 2024 06:39:24 -0500 Subject: [PATCH] hide object lifecycle if there is no clip --- web/src/components/overlay/detail/SearchDetailDialog.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/src/components/overlay/detail/SearchDetailDialog.tsx b/web/src/components/overlay/detail/SearchDetailDialog.tsx index b364e2c82..1ff784e6d 100644 --- a/web/src/components/overlay/detail/SearchDetailDialog.tsx +++ b/web/src/components/overlay/detail/SearchDetailDialog.tsx @@ -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); }