mirror of
https://github.com/bitwarden/browser.git
synced 2024-12-22 16:29:09 +01:00
[PM-5936] Add additional null organization checks (#7707)
This commit is contained in:
parent
2511ae959a
commit
3cf17d1073
@ -85,7 +85,7 @@
|
||||
</div>
|
||||
|
||||
<div *ngIf="filter.type !== 'trash' && filter.collectionId !== Unassigned" class="tw-shrink-0">
|
||||
<div *ngIf="organization.canCreateNewCollections" appListDropdown>
|
||||
<div *ngIf="organization?.canCreateNewCollections" appListDropdown>
|
||||
<button
|
||||
bitButton
|
||||
buttonType="primary"
|
||||
@ -108,7 +108,7 @@
|
||||
</bit-menu>
|
||||
</div>
|
||||
<button
|
||||
*ngIf="!organization.canCreateNewCollections"
|
||||
*ngIf="!organization?.canCreateNewCollections"
|
||||
type="button"
|
||||
bitButton
|
||||
buttonType="primary"
|
||||
|
@ -77,7 +77,7 @@ export class VaultHeaderComponent {
|
||||
return this.i18nService.t("unassigned");
|
||||
}
|
||||
|
||||
return `${this.organization.name} ${headerType}`;
|
||||
return `${this.organization?.name} ${headerType}`;
|
||||
}
|
||||
|
||||
protected get showBreadcrumbs() {
|
||||
|
Loading…
Reference in New Issue
Block a user