This commit is contained in:
Tusooa Zhu 2022-02-09 17:03:17 -05:00 committed by tusooa
commit 8c8a8232c8
No known key found for this signature in database
GPG key ID: 7B467EDE43A08224
2 changed files with 8 additions and 8 deletions

View file

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