better firefox dropdown

This commit is contained in:
David Ralph
2021-02-26 15:35:50 +00:00
parent 2664fcab19
commit 412aa339d9
3 changed files with 17 additions and 4 deletions

View File

@@ -69,6 +69,7 @@ export default class MarketplaceFunctions {
}
let installed = JSON.parse(localStorage.getItem('installed'));
if (sideload) {
installed.push({
content: {
@@ -76,7 +77,10 @@ export default class MarketplaceFunctions {
data: input
}
});
} else installed.push(input);
} else {
installed.push(input);
}
localStorage.setItem('installed', JSON.stringify(installed));
}
}