Fix: Hide the Delete button correctly

This commit is contained in:
Nelson Chan 2023-07-16 08:10:02 +08:00
parent 21d556528f
commit a0eb733d54
1 changed files with 1 additions and 1 deletions

View File

@ -99,7 +99,7 @@
</div>
<div class="modal-footer">
<button v-if="tag" type="button" class="btn btn-danger" :disabled="processing" @click="deleteConfirm">
<button v-if="tag && tag.id !== null" type="button" class="btn btn-danger" :disabled="processing" @click="deleteConfirm">
{{ $t("Delete") }}
</button>
<button type="submit" class="btn btn-primary" :disabled="processing">