remove object lifecycle from search details for non-object events

This commit is contained in:
Josh Hawkins 2024-09-26 11:18:34 -05:00
parent 954272cb70
commit 698833ef6c

View File

@ -95,6 +95,11 @@ export default function SearchDetailDialog({
views.splice(index, 1);
}
if (search.data.type != "object") {
const index = views.indexOf("object lifecycle");
views.splice(index, 1);
}
// TODO implement
//if (!config.semantic_search.enabled) {
// const index = views.indexOf("similar-calendar");