diff --git a/packages/web_ui/src/components/NpmButton.tsx b/packages/web_ui/src/components/NpmButton.tsx index 17f1883c..e543cb43 100644 --- a/packages/web_ui/src/components/NpmButton.tsx +++ b/packages/web_ui/src/components/NpmButton.tsx @@ -139,7 +139,7 @@ export function NpmButton(props: { } }, [hostId]); - const coreUpdatePermission = `core.${props.target === "controller" ? "controller" : "host"}.update`; + const coreUpdatePermission = `core.${props.target === "controller" ? "controller" : "host"}.update` as const; function onValuesChange({ action } : { action?: string }) { if (action) {