()
| 9 | ) => `/${status}-48${isTestBedBuild ? "-dev" : ""}.png`; |
| 10 | |
| 11 | export const clearError = async () => { |
| 12 | const inferenceConfig = await getFromLocalStorage("automaticInferenceConfig"); |
| 13 | |
| 14 | void browser.action.setIcon({ |
| 15 | path: generateIconPath(inferenceConfig?.enabled ? "enabled" : "disabled"), |
| 16 | }); |
| 17 | }; |
| 18 | |
| 19 | export const setDisabledBadge = () => { |
| 20 | void browser.action.setIcon({ path: generateIconPath("disabled") }); |
no test coverage detected