MCPcopy Create free account
hub / github.com/hashintel/hash / setDisabledBadge

Function setDisabledBadge

apps/plugin-browser/src/shared/badge.ts:19–21  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

17};
18
19export const setDisabledBadge = () => {
20 void browser.action.setIcon({ path: generateIconPath("disabled") });
21};
22
23export const setEnabledBadge = () => {
24 void browser.action.setIcon({ path: generateIconPath("enabled") });

Callers 2

background.tsFile · 0.90
setInLocalStorageFunction · 0.90

Calls 1

generateIconPathFunction · 0.85

Tested by

no test coverage detected