aboutsummaryrefslogtreecommitdiff
path: root/src/components/confirm_modal
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/confirm_modal')
-rw-r--r--src/components/confirm_modal/confirm_modal.vue14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/components/confirm_modal/confirm_modal.vue b/src/components/confirm_modal/confirm_modal.vue
index fa354285..59e46dc1 100644
--- a/src/components/confirm_modal/confirm_modal.vue
+++ b/src/components/confirm_modal/confirm_modal.vue
@@ -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>