Add missing as const for permission string

This commit is contained in:
Cooldude2606 committed 2026-09-12 02:12:49 +01:00
1 parent 06a6a7edf3
commit c2325a8b6e
1 file changed
+1 -1
+1 -1
View File
@@ -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) {