Skip to content

Commit

Permalink
fix: open as chart should open in new tab
Browse files Browse the repository at this point in the history
  • Loading branch information
jenniferarnesen committed Sep 11, 2023
1 parent d0eeeb4 commit a188d8d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/components/layers/overlays/OverlayCard.js
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,10 @@ const OverlayCard = ({
await set(currentAO)

// Open it in another app
window.location.href = `${baseUrl}/${APP_URLS[type]}/#/currentAnalyticalObject`
window.open(
`${baseUrl}/${APP_URLS[type]}/#/currentAnalyticalObject`,
'_blank'
)
}
: undefined
}
Expand Down

0 comments on commit a188d8d

Please sign in to comment.