summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorshikha0203 <shivani.khare@est.tech>2023-03-01 15:15:03 +0000
committerMichael Morris <michael.morris@est.tech>2023-03-01 17:22:26 +0000
commitdf032c3d51907581dca82be7718c45df6673eb7b (patch)
tree64879bdb2063f035a0c826e91b916c7db903bd7f
parent3477e62a0cb8ae94ba4f68ce79ba644584c222f3 (diff)
Sort properties in node filter modal
Issue-ID: SDC-4422 Signed-off-by: shikha0203 <shivani.khare@est.tech> Change-Id: I1708091e4bf046e279fe1b675954e1ab367975c9
-rw-r--r--catalog-ui/src/app/ng2/pages/service-dependencies-editor/service-dependencies-editor.component.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/catalog-ui/src/app/ng2/pages/service-dependencies-editor/service-dependencies-editor.component.ts b/catalog-ui/src/app/ng2/pages/service-dependencies-editor/service-dependencies-editor.component.ts
index a0a30c5f31..5666bf595b 100644
--- a/catalog-ui/src/app/ng2/pages/service-dependencies-editor/service-dependencies-editor.component.ts
+++ b/catalog-ui/src/app/ng2/pages/service-dependencies-editor/service-dependencies-editor.component.ts
@@ -122,7 +122,7 @@ export class ServiceDependenciesEditorComponent implements OnInit {
} else {
selectLabel = 'Select';
}
- this.servicePropertyDropdownList = [new DropdownValue(undefined, selectLabel), ...propertyList.map(prop => new DropdownValue(prop.name, prop.name))];
+ this.servicePropertyDropdownList = [new DropdownValue(undefined, selectLabel), ...propertyList.map(prop => new DropdownValue(prop.name, prop.name)).sort((prop1, prop2) => prop1.value.localeCompare(prop2.value))];
}
private initConstraintOperatorOptions(): void {