mirror of
https://github.com/hensm/fx_cast.git
synced 2026-06-12 10:39:57 +00:00
Fix menu boolean check
This commit is contained in:
@@ -220,7 +220,7 @@ async function initMenus () {
|
|||||||
// Only rebuild menus if whitelist menu present
|
// Only rebuild menus if whitelist menu present
|
||||||
// WebExt typings are broken again here, so ugly casting
|
// WebExt typings are broken again here, so ugly casting
|
||||||
const menuIds = info.menuIds as unknown as number[];
|
const menuIds = info.menuIds as unknown as number[];
|
||||||
if (menuIds.includes(menuIdWhitelist as number)) {
|
if (!menuIds.includes(menuIdWhitelist as number)) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user