Skip to content

Commit 7c24c83

Browse files
committed
Merge branch 'add-multiple-components' into 'main'
Add multiple components See merge request weblogic-cloud/weblogic-toolkit-ui!280
2 parents 8f71924 + e103f3e commit 7c24c83

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

webui/src/js/viewModels/vz-application-design-view.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ function (project, accUtils, utils, ko, i18n, BufferingDataProvider, ArrayDataPr
117117
loggingTraitEnabled: false,
118118
});
119119
}
120-
this.components.observable.sort((a, b) => (a.name > b.name) ? 1 : -1);
120+
this.components.observable.sort((a, b) => a.name.localeCompare(b.name));
121121

122122
// this shouldn't be needed, but duplicate entries will show in the components accordion
123123
// if multiple components are added at once.

0 commit comments

Comments
 (0)