make logout button dangerous

This commit is contained in:
Henry Jameson 2026-05-05 12:10:17 +03:00
commit e82fa41f88
4 changed files with 6 additions and 0 deletions

View file

@ -21,6 +21,9 @@ const ConfirmModal = {
confirmText: {
type: String,
},
confirmDanger: {
type: Boolean,
},
},
emits: ['cancelled', 'accepted'],
computed: {},

View file

@ -14,6 +14,7 @@
<slot name="footerLeft" />
<button
class="btn button-default"
:class="{ '-danger': confirmDanger }"
@click.prevent="onAccept"
v-text="confirmText"
/>