ui fix
This commit is contained in:
parent
922e73287c
commit
0e2548e44d
|
@ -199,7 +199,7 @@ export class DescriptionTemplateListingComponent extends BaseListingComponent<De
|
|||
}
|
||||
|
||||
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 {
|
||||
|
|
Loading…
Reference in New Issue