Skip to content

Commit 2fae0fe

Browse files
authored
Sort config data according to parameter names (#726)
1 parent 7acace4 commit 2fae0fe

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/dashboard/Data/Config/Config.react.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,10 @@ class Config extends TableView {
164164

165165
data.push({ param: param, value: value })
166166
});
167+
168+
data.sort((object1, object2) => {
169+
return object1.param.localeCompare(object2.param);
170+
});
167171
}
168172
}
169173
return data;

0 commit comments

Comments
 (0)