mirror of https://github.com/espruino/BangleApps
taglaunch: format
parent
47d9ebbb6f
commit
cd14794a42
|
@ -42,9 +42,9 @@ if (launchCache.hash!=launchHash) {
|
|||
return 0;
|
||||
}).forEach(app => {
|
||||
let appTags = app.tags.split(",")
|
||||
.map(tag => tag.trim())
|
||||
.map(tag => tag === "tools" ? "tool" : tag) // tool = tools
|
||||
.filter(tag => Object.keys(tags).includes(tag));
|
||||
.map(tag => tag.trim())
|
||||
.map(tag => tag === "tools" ? "tool" : tag) // tool = tools
|
||||
.filter(tag => Object.keys(tags).includes(tag));
|
||||
if (appTags.length === 0) {
|
||||
appTags.push("misc");
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue