Skip to content

Commit ef8f458

Browse files
committed
Fix initialization contextMenu
1 parent 6448876 commit ef8f458

1 file changed

Lines changed: 9 additions & 2 deletions

File tree

src/storage/index.ts

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,15 @@ const set = <T extends Partial<Schema>>(items: T) =>
88
const get = <T extends keyof Schema>(keys: T[]) =>
99
chrome.storage.local.get(keys) as Promise<Pick<Schema, T>>;
1010

11-
const getAll = () =>
12-
get(["enabled", "blocked", "counter", "counterShow", "counterPeriod", "resolution"]);
11+
const getAll = () => get([
12+
"enabled",
13+
"contextMenu",
14+
"blocked",
15+
"counter",
16+
"counterShow",
17+
"counterPeriod",
18+
"resolution",
19+
]);
1320

1421
export default {
1522
set,

0 commit comments

Comments
 (0)