Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ui] Fix base path when opening a new window (#25909)
## Summary & Motivation Preserve the base path when opening a new tab for "Open in Launchpad" on a schedule/sensor dry run. I created a hook to wrap extraction of the base path and using `_blank` as the target. I see a few places where we're using `window.open` without applying the base path, so in a followup I'll go through and clean those up too. ## How I Tested These Changes Open a schedule, click "Test schedule", choose a tick. Click "Open in Launchpad", verify that the new tab opens with a URL that includes the base path (deployment) prefix. ## Changelog [ui] Fix "Open in Playground" link when testing a schedule or sensor by ensuring that it opens to the correct deployment.
- Loading branch information