Skip to content

Commit e103f3e

Browse files
rakillenrobertpatrick
authored andcommitted
Add multiple components
1 parent 8f71924 commit e103f3e

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)