1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-13 14:53:33 +00:00

[PM-1408] Vault Items with null Folder Value not Handled Correctly (#5066)

* Added optional chaining to folder view object to handle when the foilder value is null

* Set folder to null during cleanup and added check on the view component to check if the folder is nul before rendering the html
This commit is contained in:
SmithThe4th
2023-03-27 09:36:57 -04:00
committed by GitHub
parent 846b15d6d3
commit c241e5e0b9
2 changed files with 2 additions and 1 deletions

View File

@@ -434,6 +434,7 @@ export class ViewComponent implements OnDestroy, OnInit {
private cleanUp() {
this.totpCode = null;
this.cipher = null;
this.folder = null;
this.showPassword = false;
this.showCardNumber = false;
this.showCardCode = false;