[PM-5936] Add additional null organization checks (#7707)
This commit is contained in:
parent
2511ae959a
commit
3cf17d1073
|
@ -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() {
|
||||||
|
|
Loading…
Reference in New Issue