Skip to content

Commit

Permalink
hotfix: fix broken open in new tab functionality by sending the missi…
Browse files Browse the repository at this point in the history
…ng Redux update when the URL changes
  • Loading branch information
bolt-bot committed May 9, 2020
1 parent ee0f2ec commit f41ae05
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -523,6 +523,10 @@ class IFrame extends BaseLitComponent {
addressReplacement
);

const currentUrl = urlHandler.getFileName(currentPattern);
if (currentUrl) {
store.dispatch(updateCurrentUrl(currentUrl));
}
store.dispatch(updateCurrentPattern(currentPattern));
} catch (error) {
console.log(error);
Expand Down

0 comments on commit f41ae05

Please sign in to comment.