This commit is contained in:
2023-11-11 21:48:44 +01:00
parent a21f799e7d
commit 7000d5a08b
5 changed files with 23 additions and 20 deletions

View File

@ -16,7 +16,7 @@ export const Hosters = {
}
},
enable: async (match: Match) => {
let disabled = await storageGet('hosters.disabled', []);
const disabled = await storageGet('hosters.disabled', []);
const index = disabled.indexOf(match.id);
if (index !== -1) {
disabled.splice(index, 1);