mirror of
https://github.com/mayswind/ezbookkeeping.git
synced 2026-05-19 09:14:27 +08:00
set drag handle disabled when loading or updating
This commit is contained in:
@@ -125,9 +125,9 @@
|
|||||||
</small>
|
</small>
|
||||||
<v-spacer/>
|
<v-spacer/>
|
||||||
<span class="align-self-center">
|
<span class="align-self-center">
|
||||||
<v-icon :class="activeAccountCategoryVisibleAccountCount > 1 ? 'drag-handle' : 'disabled'"
|
<v-icon :class="!loading && activeAccountCategoryVisibleAccountCount > 1 ? 'drag-handle' : 'disabled'"
|
||||||
:icon="icons.drag"/>
|
:icon="icons.drag"/>
|
||||||
<v-tooltip activator="parent" v-if="activeAccountCategoryVisibleAccountCount > 1">{{ $t('Drag and Drop to Change Order') }}</v-tooltip>
|
<v-tooltip activator="parent" v-if="!loading && activeAccountCategoryVisibleAccountCount > 1">{{ $t('Drag and Drop to Change Order') }}</v-tooltip>
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|||||||
@@ -147,9 +147,9 @@
|
|||||||
{{ $t('Cancel') }}
|
{{ $t('Cancel') }}
|
||||||
</v-btn>
|
</v-btn>
|
||||||
<span>
|
<span>
|
||||||
<v-icon :class="availableTagCount > 1 ? 'drag-handle' : 'disabled'"
|
<v-icon :class="!loading && !updating && availableTagCount > 1 ? 'drag-handle' : 'disabled'"
|
||||||
:icon="icons.drag"/>
|
:icon="icons.drag"/>
|
||||||
<v-tooltip activator="parent" v-if="availableTagCount > 1">{{ $t('Drag and Drop to Change Order') }}</v-tooltip>
|
<v-tooltip activator="parent" v-if="!loading && !updating && availableTagCount > 1">{{ $t('Drag and Drop to Change Order') }}</v-tooltip>
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
</td>
|
</td>
|
||||||
|
|||||||
Reference in New Issue
Block a user