Merge pull request #3428 from chakflying/fix/no-delete-draft-tag

Fix: Hide delete button in Settings -> Create New Tag
pull/3436/head
Louis Lam 1 year ago committed by GitHub
commit 695691468c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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">

Loading…
Cancel
Save