Skip to content

Commit

Permalink
fix: add target to parent nav
Browse files Browse the repository at this point in the history
  • Loading branch information
MaGOs92 committed Dec 9, 2024
1 parent 8149a84 commit 832fa7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/contexts/BALWidget.context.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ export function BALWidgetProvider({ children }: BALWidgetProviderProps) {
setIsBalWidgetConfigLoaded(true)
break
case 'BAL_WIDGET_PARENT_NAVIGATE_TO':
window.location.href = event.data.content
window.open(event.data.content.href, event.data.content.target)
break
default:
break
Expand Down

0 comments on commit 832fa7c

Please sign in to comment.