history.js: Set `lastPushUrl` in method `replaceCurrentState()`

Without this, any subsequent call to `pushCurrentState()` has
no effect in case the same url is used that was replaced.
This commit is contained in:
Johannes Meyer 2020-11-06 17:32:51 +01:00
parent 627f388cfa
commit f05f905d14
1 changed files with 1 additions and 0 deletions

View File

@ -126,6 +126,7 @@
if (state.url) {
this.icinga.logger.debug('Replacing current history state');
this.lastPushUrl = state.url;
window.history.replaceState(
this.getBehaviorState(),
null,