From a9c675880ffc8290ee269a3d6677e8c671a601c4 Mon Sep 17 00:00:00 2001 From: "CITE\\dtziotzios" Date: Tue, 16 Jul 2024 13:15:01 +0300 Subject: [PATCH] Plan Description is no longer required when creating a new plan --- .../ui/plan/plan-editor-blueprint/plan-editor.component.html | 4 ++-- .../ui/plan/plan-editor-blueprint/plan-editor.component.ts | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/frontend/src/app/ui/plan/plan-editor-blueprint/plan-editor.component.html b/frontend/src/app/ui/plan/plan-editor-blueprint/plan-editor.component.html index 424eed369..6d9116bd9 100644 --- a/frontend/src/app/ui/plan/plan-editor-blueprint/plan-editor.component.html +++ b/frontend/src/app/ui/plan/plan-editor-blueprint/plan-editor.component.html @@ -89,9 +89,9 @@
-
{{'PLAN-EDITOR.FIELDS.DESCRIPTION' | translate}} *
+
{{'PLAN-EDITOR.FIELDS.DESCRIPTION' | translate}}
- +
diff --git a/frontend/src/app/ui/plan/plan-editor-blueprint/plan-editor.component.ts b/frontend/src/app/ui/plan/plan-editor-blueprint/plan-editor.component.ts index 5da907549..d4d3d4473 100644 --- a/frontend/src/app/ui/plan/plan-editor-blueprint/plan-editor.component.ts +++ b/frontend/src/app/ui/plan/plan-editor-blueprint/plan-editor.component.ts @@ -579,7 +579,7 @@ export class PlanEditorComponent extends BaseEditor imple this.selectedBlueprint = data; this.formGroup.get('blueprint').setValue(this.selectedBlueprint.id); - const goToNextStep: boolean = this.formGroup.get('label').valid && this.formGroup.get('description').valid; + const goToNextStep: boolean = this.formGroup.get('label').valid; if (goToNextStep) { this.buildFormAfterBlueprintSelection(); this.nextStep();