This commit is contained in:
syuilo
2025-08-27 15:59:39 +09:00
parent 98e07c3bd1
commit 87d09f255d
5 changed files with 71 additions and 60 deletions

View File

@@ -91,7 +91,7 @@ async function addItem() {
value: '-', text: i18n.ts.divider,
}],
});
if (canceled) return;
if (canceled || item == null) return;
items.value = [...items.value, {
id: genId(),
type: item,