Skip to content

Commit

Permalink
EZQMS-642: Extended navigate() signature to support History replace…
Browse files Browse the repository at this point in the history
…ment

Signed-off-by: Petr Vyazovetskiy <develop.pit@gmail.com>
  • Loading branch information
anotherpit committed Mar 15, 2024
1 parent adb6c5d commit d89aa95
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion packages/ui/src/location.ts
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,6 @@ export function navigate (location: PlatformLocation, replace = false): boolean
} else {
history.pushState(data, '', _url)
}
}
localStorage.setItem(locationStorageKeyId, JSON.stringify(location))
if (location.path[1] !== undefined) {
localStorage.setItem(`${locationStorageKeyId}_${location.path[1]}`, JSON.stringify(location))
Expand Down

0 comments on commit d89aa95

Please sign in to comment.