RED-4248: Fixed 'back' to file
This commit is contained in:
parent
bde92dd45d
commit
ba53b85432
@ -20,10 +20,11 @@ export class RouterHistoryService {
|
||||
}
|
||||
|
||||
navigateToLastDossiersScreen(): void {
|
||||
if (this._router.url === this._lastDossiersScreen) {
|
||||
if (this._router.url === decodeURI(this._lastDossiersScreen)) {
|
||||
this._router.navigate(['/']);
|
||||
} else {
|
||||
this._router.navigate([this._lastDossiersScreen]);
|
||||
const url = decodeURI(this._lastDossiersScreen).split('?')[0];
|
||||
this._router.navigate([url]);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user