diff --git a/add-on/src/lib/context-menus.js b/add-on/src/lib/context-menus.js index f8f4d9e7c..b38291d23 100644 --- a/add-on/src/lib/context-menus.js +++ b/add-on/src/lib/context-menus.js @@ -163,7 +163,7 @@ function createContextMenus (getState, runtime, ipfsPathValidator, { onAddFromCo ipfsContext = ipfsPathValidator.isIpfsPageActionsContext(currentTab.url) } } - const ifApi = getState().peerCount > 0 + const ifApi = getState().peerCount >= 0 for (const item of apiMenuItems) { await browser.contextMenus.update(item, { enabled: ifApi }) }