ui fix
This commit is contained in:
parent
d96a1c6763
commit
a7e6459283
|
@ -229,11 +229,11 @@ export class DescriptionTemplateListingComponent extends BaseListingComponent<De
|
||||||
}
|
}
|
||||||
|
|
||||||
public canViewVersions(descriptionTemplate: DescriptionTemplate): boolean {
|
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 {
|
public canDownloadXml(descriptionTemplate: DescriptionTemplate): boolean {
|
||||||
return descriptionTemplate.belongsToCurrentTenant != false;
|
return this.authService.hasPermission(AppPermission.ExportDescriptionTemplate);
|
||||||
}
|
}
|
||||||
|
|
||||||
public canDelete(descriptionTemplate: DescriptionTemplate): boolean {
|
public canDelete(descriptionTemplate: DescriptionTemplate): boolean {
|
||||||
|
|
Loading…
Reference in New Issue