make logout button dangerous
This commit is contained in:
parent
bbe09158ce
commit
e82fa41f88
4 changed files with 6 additions and 0 deletions
|
|
@ -21,6 +21,9 @@ const ConfirmModal = {
|
|||
confirmText: {
|
||||
type: String,
|
||||
},
|
||||
confirmDanger: {
|
||||
type: Boolean,
|
||||
},
|
||||
},
|
||||
emits: ['cancelled', 'accepted'],
|
||||
computed: {},
|
||||
|
|
|
|||
|
|
@ -14,6 +14,7 @@
|
|||
<slot name="footerLeft" />
|
||||
<button
|
||||
class="btn button-default"
|
||||
:class="{ '-danger': confirmDanger }"
|
||||
@click.prevent="onAccept"
|
||||
v-text="confirmText"
|
||||
/>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue