Skip to content

Commit cbd2766

Browse files
committed
fix: ModalsContainer
1 parent ef35c1e commit cbd2766

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/vue-final-modal/src/components/ModalsContainer.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ export const ModalsContainer = defineComponent({
2727
}
2828

2929
return () => {
30-
if (shouldMount.value)
30+
if (!shouldMount.value)
3131
return null
3232
return dynamicModals.map((modal, index) => {
3333
if (!modal.component)

0 commit comments

Comments
 (0)