diff options
| author | syuilo <4439005+syuilo@users.noreply.github.com> | 2025-08-27 15:59:39 +0900 |
|---|---|---|
| committer | syuilo <4439005+syuilo@users.noreply.github.com> | 2025-08-27 15:59:39 +0900 |
| commit | 87d09f255dd702627bbc6fa58692eebba3830889 (patch) | |
| tree | b5defcefd421adcc24c56708ea3393b91c788c93 /packages/frontend/src | |
| parent | perf(frontend): use WeakMap (diff) | |
| download | misskey-87d09f255dd702627bbc6fa58692eebba3830889.tar.gz misskey-87d09f255dd702627bbc6fa58692eebba3830889.tar.bz2 misskey-87d09f255dd702627bbc6fa58692eebba3830889.zip | |
refactor
Diffstat (limited to 'packages/frontend/src')
| -rw-r--r-- | packages/frontend/src/pages/settings/navbar.vue | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/frontend/src/pages/settings/navbar.vue b/packages/frontend/src/pages/settings/navbar.vue index 09c1199d0c..f7c634b42e 100644 --- a/packages/frontend/src/pages/settings/navbar.vue +++ b/packages/frontend/src/pages/settings/navbar.vue @@ -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, |