mirror of
https://github.com/bitwarden/browser
synced 2025-12-16 16:23:44 +00:00
[AC-1999] Fix deleting collections from collection dialog (#8647)
* [AC-1999] Fix null check this.collection can be both null or unassigned and `!= null` will handle both cases. * [AC-1999] Navigate away when selected collection is deleted --------- Co-authored-by: bnagawiecki <107435978+bnagawiecki@users.noreply.github.com>
This commit is contained in:
@@ -80,7 +80,7 @@ export class VaultHeaderComponent implements OnInit {
|
||||
? this.i18nService.t("collections").toLowerCase()
|
||||
: this.i18nService.t("vault").toLowerCase();
|
||||
|
||||
if (this.collection !== undefined) {
|
||||
if (this.collection != null) {
|
||||
return this.collection.node.name;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user