tweak to aid with settings development - fix #366

pull/367/head^2
Gordon Williams 2020-04-30 10:23:43 +01:00
parent 70d0c1e77c
commit 53d9982a5a
1 changed files with 1 additions and 1 deletions

View File

@ -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) => {