This commit is contained in:
CITE\amentis 2024-09-06 16:46:55 +03:00
parent d96a1c6763
commit a7e6459283
1 changed files with 2 additions and 2 deletions

View File

@ -229,11 +229,11 @@ export class DescriptionTemplateListingComponent extends BaseListingComponent<De
}
public canViewVersions(descriptionTemplate: DescriptionTemplate): boolean {
return descriptionTemplate.belongsToCurrentTenant != false && descriptionTemplate.isActive == IsActive.Active && this.canCreateNew();
return descriptionTemplate.isActive == IsActive.Active && this.canCreateNew();
}
public canDownloadXml(descriptionTemplate: DescriptionTemplate): boolean {
return descriptionTemplate.belongsToCurrentTenant != false;
return this.authService.hasPermission(AppPermission.ExportDescriptionTemplate);
}
public canDelete(descriptionTemplate: DescriptionTemplate): boolean {