feat(delete): hide removal of clones completely if no clones are affected

This commit is contained in:
Elian Doran
2026-04-11 13:24:09 +03:00
parent 46d6d6fdee
commit 7037ae4ba8

View File

@@ -154,15 +154,7 @@ function DeleteAllClonesOption({ cloneInfo, deleteAllClones, setDeleteAllClones
const { totalCloneCount } = cloneInfo;
if (totalCloneCount === 0) {
return (
<OptionsRow
name="delete-all-clones"
label={t("delete_notes.clones_label")}
description={t("delete_notes.no_clones_message")}
>
<span style={{ color: "var(--muted-text-color)" }}></span>
</OptionsRow>
);
return null;
}
return (