Skip to content

Commit

Permalink
Another fix for adguard
Browse files Browse the repository at this point in the history
  • Loading branch information
OctoNezd committed Jul 1, 2024
1 parent 51b3a17 commit 156ffec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/extensionPreferences/userScriptStore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export default class UserScriptStore {
}
async get(key: string) {
let val = await GM.getValue(key);
if (val === undefined) return val;
if (val === undefined || val[key] === undefined) return val;
return val[key];
}
name = "gmStore";
Expand Down

0 comments on commit 156ffec

Please sign in to comment.