diff options
| -rw-r--r-- | src/components/confirm_modal/confirm_modal.vue | 14 | ||||
| -rw-r--r-- | src/components/follow_button/follow_button.js | 2 |
2 files changed, 8 insertions, 8 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> diff --git a/src/components/follow_button/follow_button.js b/src/components/follow_button/follow_button.js index 0a74a7a1..443aa9bc 100644 --- a/src/components/follow_button/follow_button.js +++ b/src/components/follow_button/follow_button.js @@ -8,7 +8,7 @@ export default { data () { return { inProgress: false, - showingConfirmUnfollow: false, + showingConfirmUnfollow: false } }, computed: { |
