mirror of
https://github.com/bitwarden/browser
synced 2025-12-16 00:03:56 +00:00
null checks on query param sub
This commit is contained in:
@@ -141,7 +141,9 @@ export class VaultComponent implements OnInit, OnDestroy {
|
||||
});
|
||||
});
|
||||
|
||||
queryParamsSub.unsubscribe();
|
||||
if (queryParamsSub != null) {
|
||||
queryParamsSub.unsubscribe();
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user