-
Notifications
You must be signed in to change notification settings - Fork 265
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix URL handling on first load of PipelineRun or TaskRun
Avoid invalid / unexpected interim state when navigating back using browser history by ensure we call `history.replace` instead of `history.push` when we automatically update the URL to include the selected task and/or step when rendering the PipelineRun or TaskRun resource. If the URL query params already specify a selected task and/or step then push the new history entry into the stack as normal.
- Loading branch information
1 parent
43047aa
commit 748b788
Showing
2 changed files
with
12 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters