rename close to cancel
This commit is contained in:
@@ -25,7 +25,7 @@ const emit = defineEmits<{
|
|||||||
<template #default>Are you sure you want to delete this note?</template>
|
<template #default>Are you sure you want to delete this note?</template>
|
||||||
<template #actions="{ close }">
|
<template #actions="{ close }">
|
||||||
<button class="btn-primary btn-sm btn" @click="emit('delete', close)">Delete note</button>
|
<button class="btn-primary btn-sm btn" @click="emit('delete', close)">Delete note</button>
|
||||||
<button class="btn-sm btn" @click="close">Close</button>
|
<button class="btn-sm btn" @click="close">Cancel</button>
|
||||||
</template>
|
</template>
|
||||||
</Modal>
|
</Modal>
|
||||||
<Modal>
|
<Modal>
|
||||||
@@ -37,7 +37,7 @@ const emit = defineEmits<{
|
|||||||
<template #title>Set root note</template>
|
<template #title>Set root note</template>
|
||||||
<template #default>Are you sure you want to set this note as root note?</template>
|
<template #default>Are you sure you want to set this note as root note?</template>
|
||||||
<template #actions="{ close }">
|
<template #actions="{ close }">
|
||||||
<button class="btn-sm btn" @click="close">Close</button>
|
<button class="btn-sm btn" @click="close">Cancel</button>
|
||||||
<button class="btn-primary btn-sm btn" @click="emit('setRoot', close)">
|
<button class="btn-primary btn-sm btn" @click="emit('setRoot', close)">
|
||||||
Set current note as root
|
Set current note as root
|
||||||
</button>
|
</button>
|
||||||
|
|||||||
@@ -81,7 +81,7 @@ const authModalInitialStateOpen = ref(
|
|||||||
<template #title>Sign out</template>
|
<template #title>Sign out</template>
|
||||||
<template #default>Are you sure want to signout?</template>
|
<template #default>Are you sure want to signout?</template>
|
||||||
<template #actions="{ close }">
|
<template #actions="{ close }">
|
||||||
<button class="btn-sm btn" @click="close">Close</button>
|
<button class="btn-sm btn" @click="close">Cancel</button>
|
||||||
<button class="btn-primary btn-sm btn" @click="signOut(close)">Sign out</button>
|
<button class="btn-primary btn-sm btn" @click="signOut(close)">Sign out</button>
|
||||||
</template>
|
</template>
|
||||||
</Modal>
|
</Modal>
|
||||||
|
|||||||
Reference in New Issue
Block a user