mirror of
https://github.com/bitwarden/desktop.git
synced 2024-11-12 10:04:44 +01:00
dont refresh when pin locked
This commit is contained in:
parent
f914e55cf5
commit
5657105291
2
jslib
2
jslib
@ -1 +1 @@
|
||||
Subproject commit 2b931963cd8dbebdcbdd6a418ac3ef72adb73539
|
||||
Subproject commit fc2f64ee367b65e35e683ece0c91c05b5fb83bc5
|
@ -39,7 +39,7 @@ export class LockComponent extends BaseLockComponent implements OnDestroy {
|
||||
async ngOnInit() {
|
||||
await super.ngOnInit();
|
||||
this.route.queryParams.subscribe((params) => {
|
||||
if (params.refresh === 'true') {
|
||||
if (params.refresh === 'true' && !this.lockService.pinLocked) {
|
||||
// Refresh the renderer window when locked to enure that all purged memory is cleaned up
|
||||
this.ngZone.runOutsideAngular(() => {
|
||||
this.reloadInterval = window.setInterval(async () => {
|
||||
|
Loading…
Reference in New Issue
Block a user