-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Prevent pushHistoryPatches from using an old location
There are situations where the browsers location.href hasn't been changed yet but the component has already mounted, leaving the diagram to navigate with a selection query param on the workflow list url instead of the workflow edit url. So we store the url in the liveview process and set it as a `data-` attr on the hook. Since we can't trust the browsers location we have to track it elsewhere.
- Loading branch information
Showing
2 changed files
with
72 additions
and
37 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