diff --git a/web/src/components/overlay/detail/SearchDetailDialog.tsx b/web/src/components/overlay/detail/SearchDetailDialog.tsx index e6c101b16..059ac7c89 100644 --- a/web/src/components/overlay/detail/SearchDetailDialog.tsx +++ b/web/src/components/overlay/detail/SearchDetailDialog.tsx @@ -1242,106 +1242,110 @@ function ObjectDetailsTab({ -
-
-
- {t("explore.plus.submitToPlus.label", { - ns: "components/dialog", - })} - - -
- - Info -
-
- - {t("explore.plus.submitToPlus.desc", { + {search.data.type === "object" && + !search.plus_id && + config?.plus?.enabled && ( +
+
+
+ {t("explore.plus.submitToPlus.label", { ns: "components/dialog", })} - - -
-
+ + +
+ + Info +
+
+ + {t("explore.plus.submitToPlus.desc", { + ns: "components/dialog", + })} + +
+
+
-
- {state == "reviewing" && ( - <> -
- {i18n.language === "en" ? ( - // English with a/an logic plus label - <> - {/^[aeiou]/i.test(search?.label || "") ? ( - - explore.plus.review.question.ask_an - +
+ {state == "reviewing" && ( + <> +
+ {i18n.language === "en" ? ( + // English with a/an logic plus label + <> + {/^[aeiou]/i.test(search?.label || "") ? ( + + explore.plus.review.question.ask_an + + ) : ( + + explore.plus.review.question.ask_a + + )} + ) : ( + // For other languages - explore.plus.review.question.ask_a + explore.plus.review.question.ask_full )} - - ) : ( - // For other languages - - explore.plus.review.question.ask_full - - )} -
-
- - -
- - )} - {state == "uploading" && } - {state == "submitted" && ( -
- - {t("explore.plus.review.state.submitted")} +
+
+ + +
+ + )} + {state == "uploading" && } + {state == "submitted" && ( +
+ + {t("explore.plus.review.state.submitted")} +
+ )}
- )} -
-
+
+ )}
{config?.cameras[search.camera].objects.genai.enabled && !search.end_time &&