From f916fdff06826f895b6e9fb6875f534539f89dc9 Mon Sep 17 00:00:00 2001 From: MaysWind Date: Sat, 24 Jan 2026 21:55:45 +0800 Subject: [PATCH] disable the move tag button when there are fewer than two tag groups --- src/views/desktop/tags/ListPage.vue | 2 +- src/views/mobile/tags/ListPage.vue | 9 +++++++-- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/src/views/desktop/tags/ListPage.vue b/src/views/desktop/tags/ListPage.vue index c5cb605b..1d5e9558 100644 --- a/src/views/desktop/tags/ListPage.vue +++ b/src/views/desktop/tags/ListPage.vue @@ -182,7 +182,7 @@ :class="{ 'd-none': loading, 'hover-display': !loading }" :prepend-icon="mdiFolderMoveOutline" :loading="tagMoving[element.id]" - :disabled="loading || updating" + :disabled="loading || updating || allTagGroupsWithDefault.length < 2" v-if="editingTag.id !== element.id">