aboutsummaryrefslogtreecommitdiff
path: root/src/components/confirm_modal/confirm_modal.vue
diff options
context:
space:
mode:
authorTusooa Zhu <tusooa@kazv.moe>2022-02-09 17:03:17 -0500
committertusooa <tusooa@kazv.moe>2023-01-20 23:39:09 -0500
commit8c8a8232c8c23f706b82c03c7ddadbd94ca2f3df (patch)
tree6b4fcd202862b5f46ca33159a19db7135c599971 /src/components/confirm_modal/confirm_modal.vue
parent5c048321e787b880f4c228e52b956b59edc3fc4f (diff)
Lint
Diffstat (limited to 'src/components/confirm_modal/confirm_modal.vue')
-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>