X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;ds=inline;f=src%2Fapp%2Finstances%2Fns-instances%2FNSInstancesComponent.ts;h=14d6349b6fc620cb3202311c81d6e56ee2294a8f;hb=c84f1123f8ba69f9e2211b2d816bb415e595efaa;hp=e7de4a757fc10244568021ca982fd1e4ca7a190d;hpb=5f8c802910e7c64d476296448487b9cfa774380d;p=osm%2FNG-UI.git
diff --git a/src/app/instances/ns-instances/NSInstancesComponent.ts b/src/app/instances/ns-instances/NSInstancesComponent.ts
index e7de4a7..14d6349 100644
--- a/src/app/instances/ns-instances/NSInstancesComponent.ts
+++ b/src/app/instances/ns-instances/NSInstancesComponent.ts
@@ -84,6 +84,9 @@ export class NSInstancesComponent implements OnInit {
/** operational State scaling data @public */
public operationalStateFourthStep: string = CONFIGCONSTANT.operationalStateFourthStep;
+ /** operational State healing data @public */
+ public operationalStateFifthStep: string = CONFIGCONSTANT.operationalStateFifthStep;
+
/** Config State init data @public */
public configStateFirstStep: string = CONFIGCONSTANT.configStateFirstStep;
@@ -161,27 +164,33 @@ export class NSInstancesComponent implements OnInit {
{ value: this.operationalStateFirstStep, title: this.operationalStateFirstStep },
{ value: this.operationalStateSecondStep, title: this.operationalStateSecondStep },
{ value: this.operationalStateThirdStep, title: this.operationalStateThirdStep },
- { value: this.operationalStateFourthStep, title: this.operationalStateFourthStep }
+ { value: this.operationalStateFourthStep, title: this.operationalStateFourthStep },
+ { value: this.operationalStateFifthStep, title: this.operationalStateFifthStep }
]
}
},
valuePrepareFunction: (cell: NSDInstanceData, row: NSDInstanceData): string => {
if (row.OperationalStatus === this.operationalStateFirstStep) {
return `
-
- `;
+
+ `;
} else if (row.OperationalStatus === this.operationalStateSecondStep) {
return `
-
- `;
+
+ `;
} else if (row.OperationalStatus === this.operationalStateThirdStep) {
return `
-
- `;
+
+ `;
} else if (row.OperationalStatus === this.operationalStateFourthStep) {
return `
-
- `;
+
+ `;
+ }
+ else if (row.OperationalStatus === this.operationalStateFifthStep) {
+ return `
+
+ `;
} else {
return `${row.OperationalStatus}`;
}
@@ -203,16 +212,16 @@ export class NSInstancesComponent implements OnInit {
valuePrepareFunction: (cell: NSDInstanceData, row: NSDInstanceData): string => {
if (row.ConfigStatus === this.configStateFirstStep) {
return `
-
- `;
+
+ `;
} else if (row.ConfigStatus === this.configStateSecondStep) {
return `
-
- `;
+
+ `;
} else if (row.ConfigStatus === this.configStateThirdStep) {
return `
-
- `;
+
+ `;
} else {
return `${row.ConfigStatus}`;
}