Skip to content

Commit e13c6bb

Browse files
committed
fix alpine scope
1 parent c093c73 commit e13c6bb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

resources/views/livewire/modal.blade.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -157,8 +157,8 @@ class="fixed left-0 top-0 z-40 grid h-dvh w-full select-none overflow-hidden bg-
157157
get modalId() { return '{{ $id }}'; },
158158
get isModalActive() { return modalActiveId === this.modalId; },
159159
get modal() { return findModalById(this.modalId); },
160-
get modalIndex() { return findModalHistoryIndex(modalId); },
161-
get modalIndexReversed() { return findModalHistoryIndex(modalId, true); },
160+
get modalIndex() { return findModalHistoryIndex(this.modalId); },
161+
get modalIndexReversed() { return findModalHistoryIndex(this.modalId, true); },
162162
get modalStack() { return this.modal?.stack ?? null; },
163163
get isModalStacked() { return modalActiveStack && modalActiveStack === this.modalStack; },
164164
}" class="flex size-full min-h-0 min-w-0 select-text" style="grid-area: stack;"

0 commit comments

Comments
 (0)