We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2e8d02c commit d0bdad3Copy full SHA for d0bdad3
src/components/PModal.vue
@@ -18,10 +18,10 @@ const open = defineModel({
18
<slot v-if="open"></slot>
19
20
<footer>
21
- <button class="secondary" @click="ev => onClickCancel?.(ev)" v-if="!hideOk">
+ <button class="secondary" @click="ev => onClickCancel?.(ev)" v-if="!hideCancel">
22
{{ cancelText ?? 'Cancel' }}
23
</button>
24
- <button @click="ev => onClickOk?.(ev)" v-if="!hideCancel">
+ <button @click="ev => onClickOk?.(ev)" v-if="!hideOk">
25
{{ okText ?? 'OK' }}
26
27
</footer>
0 commit comments