mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-18 22:11:43 +01:00
fix(Modal/Slideover/Toast): prevent unnecessary close instantiation
This commit is contained in:
@@ -158,7 +158,7 @@ const ui = computed(() => modal({
|
||||
</DialogDescription>
|
||||
</div>
|
||||
|
||||
<DialogClose as-child>
|
||||
<DialogClose v-if="close || !!slots.close" as-child>
|
||||
<slot name="close" :ui="ui">
|
||||
<UButton
|
||||
v-if="close"
|
||||
|
||||
Reference in New Issue
Block a user