mirror of
https://github.com/bitwarden/browser
synced 2025-12-06 00:13:28 +00:00
fix: bypass router cache on back() in popout (#16453)
This commit is contained in:
@@ -105,6 +105,11 @@ export class PopupRouterCacheService {
|
||||
* Navigate back in history
|
||||
*/
|
||||
async back() {
|
||||
if (!BrowserPopupUtils.inPopup(window)) {
|
||||
this.location.back();
|
||||
return;
|
||||
}
|
||||
|
||||
const history = await this.state.update((prevState) =>
|
||||
prevState ? prevState.slice(0, -1) : [],
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user