ui fixes
This commit is contained in:
parent
fb4712fc43
commit
514f9990b9
|
@ -111,7 +111,7 @@ export class DescriptionTemplateEditorComponent extends BaseEditor<DescriptionTe
|
|||
}
|
||||
|
||||
protected get viewOnly(): boolean {
|
||||
return this.isDeleted || this.isFinalized || !this.hasPermission(AppPermission.EditDescriptionTemplate) || !this.belongsToCurrentTenant;
|
||||
return (this.isDeleted || this.isFinalized || !this.hasPermission(AppPermission.EditDescriptionTemplate) || !this.belongsToCurrentTenant) && !this.isNewVersion;;
|
||||
}
|
||||
|
||||
protected get canDelete(): boolean {
|
||||
|
|
|
@ -82,7 +82,7 @@ export class PlanBlueprintEditorComponent extends BaseEditor<PlanBlueprintEditor
|
|||
}
|
||||
|
||||
protected get hideEditActions(): boolean {
|
||||
return this.isDeleted || this.isFinalized || !this.authService.hasPermission(AppPermission.EditPlanBlueprint) || !this.belongsToCurrentTenant;
|
||||
return (this.isDeleted || this.isFinalized || !this.authService.hasPermission(AppPermission.EditPlanBlueprint) || !this.belongsToCurrentTenant) && !this.isNewVersion;
|
||||
}
|
||||
|
||||
protected get canDownloadXML(): boolean {
|
||||
|
|
Loading…
Reference in New Issue