This commit is contained in:
Tusooa Zhu 2022-02-09 17:03:17 -05:00 committed by FloatingGhost
parent 58155abeb1
commit 8be3c46bcc
2 changed files with 8 additions and 8 deletions

View file

@ -2,26 +2,26 @@
<dialog-modal <dialog-modal
v-if="showing" v-if="showing"
class="confirm-modal" class="confirm-modal"
:onCancel="onCancel" :on-cancel="onCancel"
> >
<template v-slot:header> <template v-slot:header>
<span v-text="title"></span> <span v-text="title" />
</template> </template>
<slot></slot> <slot />
<template v-slot:footer> <template v-slot:footer>
<button <button
class="btn button-default" class="btn button-default"
v-text="confirmText"
@click.prevent="onAccept" @click.prevent="onAccept"
></button> v-text="confirmText"
/>
<button <button
class="btn button-default" class="btn button-default"
v-text="cancelText"
@click.prevent="onCancel" @click.prevent="onCancel"
></button> v-text="cancelText"
/>
</template> </template>
</dialog-modal> </dialog-modal>
</template> </template>

View file

@ -8,7 +8,7 @@ export default {
data () { data () {
return { return {
inProgress: false, inProgress: false,
showingConfirmUnfollow: false, showingConfirmUnfollow: false
} }
}, },
computed: { computed: {