Commit 8564bf1
Replace lodash functions with ES6 equivalents in settings.js (#2671)
* Replace lodash functions with ES6 equivalents in settings.js
- Replace lodash.orderBy with native JavaScript sort
- Replace lodash.get with optional chaining and nullish coalescing operators
Fixes #2398
* Fix code formatting with Prettier
* remove comments
---------
Co-authored-by: openhands <openhands@all-hands.dev>1 parent 62c2a8d commit 8564bf1
1 file changed
Lines changed: 6 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
262 | 262 | | |
263 | 263 | | |
264 | 264 | | |
265 | | - | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
266 | 268 | | |
267 | 269 | | |
268 | 270 | | |
| |||
295 | 297 | | |
296 | 298 | | |
297 | 299 | | |
298 | | - | |
299 | | - | |
300 | | - | |
301 | | - | |
302 | | - | |
303 | | - | |
304 | | - | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
305 | 303 | | |
306 | 304 | | |
307 | 305 | | |
| |||
0 commit comments