taglaunch: format

pull/2291/head
Erik Andresen 2022-11-18 22:07:19 +01:00
parent 47d9ebbb6f
commit cd14794a42
1 changed files with 3 additions and 3 deletions

View File

@ -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");
}