disable the move tag button when there are fewer than two tag groups

This commit is contained in:
MaysWind
2026-01-24 21:55:45 +08:00
parent ced346506e
commit f916fdff06
2 changed files with 8 additions and 3 deletions
+1 -1
View File
@@ -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">
<template #loader>
<v-progress-circular indeterminate size="20" width="2"/>