mirror of https://github.com/espruino/BangleApps
tweak to aid with settings development - fix #366
parent
70d0c1e77c
commit
53d9982a5a
|
@ -422,7 +422,7 @@ function showAppSettingsMenu() {
|
|||
const apps = storage.list(/\.settings\.js$/)
|
||||
.map(s => s.substr(0, s.length-12))
|
||||
.map(id => {
|
||||
const a=storage.readJSON(id+'.info',1);
|
||||
const a=storage.readJSON(id+'.info',1) || {name: id};
|
||||
return {id:id,name:a.name,sortorder:a.sortorder};
|
||||
})
|
||||
.sort((a, b) => {
|
||||
|
|
Loading…
Reference in New Issue