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