Skip to content

Commit

Permalink
fix(Navigation): fix NavigateToExternalWeb
Browse files Browse the repository at this point in the history
  • Loading branch information
beebls committed Feb 18, 2023
1 parent c53d7f8 commit 82214fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/deck-components/Modal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ export const ModalRoot = (Object.values(
if (typeof m !== 'object') return false;

for (let prop in m) {
if (m[prop]?.m_mapModalManager) {
if (m[prop]?.m_mapModalManager && Object.values(m)?.find((x: any) => x?.type)) {
return true;
}
}
Expand Down

0 comments on commit 82214fe

Please sign in to comment.