Skip to content

Commit

Permalink
pkp/pkp-lib#9932 Fixing legacyCloseHandler
Browse files Browse the repository at this point in the history
  • Loading branch information
jardakotesovec committed May 7, 2024
1 parent ed28ba6 commit 0c77407
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/stores/modalStore.js
Original file line number Diff line number Diff line change
Expand Up @@ -137,9 +137,9 @@ export const useModalStore = defineStore('modal', () => {
// to trigger handler modalClose explicitelly
if (
triggerLegacyCloseHandler &&
modalToClose.value?.props?.options?.modalHandler
modalToClose.value?.props?.legacyOptions?.modalHandler
) {
modalToClose.value?.props?.options?.modalHandler.modalClose();
modalToClose.value?.props?.legacyOptions?.modalHandler.modalClose();
}
}

Expand Down

0 comments on commit 0c77407

Please sign in to comment.