mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-14 12:14:41 +01:00
fix(Modal/Slideover/Toast): prevent unnecessary close instantiation
This commit is contained in:
@@ -168,7 +168,7 @@ defineExpose({
|
||||
</slot>
|
||||
</template>
|
||||
|
||||
<ToastClose as-child>
|
||||
<ToastClose v-if="close || !!slots.close" as-child>
|
||||
<slot name="close" :ui="ui">
|
||||
<UButton
|
||||
v-if="close"
|
||||
|
||||
Reference in New Issue
Block a user