YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context
Rust agentsagiaiai-memoryaudio-recordingcomputer-visionhermeshermes-agentllmlocal-ailocal-firstmachine-learningmcpmultimodalopenclawprivacyrewindscreen-recordingspeech-to-textycombinator
fix: remove invalid type argument from getManagedValue call
Louis Beaumont105022299b13
diff --git a/apps/screenpipe-app-tauri/components/enterprise-locked-setting.tsx b/apps/screenpipe-app-tauri/components/enterprise-locked-setting.tsxindex 98099dda9..81de5c1e4 100644--- a/apps/screenpipe-app-tauri/components/enterprise-locked-setting.tsx+++ b/apps/screenpipe-app-tauri/components/enterprise-locked-setting.tsx@@ -39,7 +39,7 @@ export function ManagedSwitch({...rest}: { settingKey: string } & ComponentProps<typeof Switch>) {const { getManagedValue } = useEnterprisePolicy();- const managed = getManagedValue<string>(settingKey);+ const managed = getManagedValue(settingKey);if (managed !== undefined) {return <Switch checked={managed === "true"} disabled {...rest} />;