This commit is contained in:
Sofia Papacharalampous 2024-07-10 10:48:43 +03:00
parent 922e73287c
commit 0e2548e44d
1 changed files with 1 additions and 1 deletions

View File

@ -199,7 +199,7 @@ export class DescriptionTemplateListingComponent extends BaseListingComponent<De
} }
public canEdit(descriptionTemplate: DescriptionTemplate): boolean { public canEdit(descriptionTemplate: DescriptionTemplate): boolean {
return descriptionTemplate.status !== DescriptionTemplateStatus.Finalized && this.hasPermission(AppPermission.EditDescriptionTemplate, descriptionTemplate); return descriptionTemplate.status !== DescriptionTemplateStatus.Finalized && this.hasPermission(AppPermission.EditDescriptionTemplate, descriptionTemplate) && descriptionTemplate.belongsToCurrentTenant;
} }
public canCreateNew(): boolean { public canCreateNew(): boolean {