Refactor #4433 - ConfirmDialog

This commit is contained in:
Tuğçe Küçükoğlu 2023-09-19 14:16:07 +03:00
parent 1fce3d50a5
commit 9beab952eb
2 changed files with 9 additions and 1 deletions

View file

@ -15,7 +15,7 @@
:unstyled="unstyled"
>
<template v-if="$slots.container" #container="slotProps">
<slot name="container" :message="confirmation" :onClose="slotProps.onClose" />
<slot name="container" :message="confirmation" :onClose="slotProps.onClose" :onAccept="accept" :onReject="reject" />
</template>
<template v-if="!$slots.container">
<template v-if="!$slots.message">