diff --git a/src/app/(dashboard)/app-store/[id]/components/InstallForm/InstallForm.tsx b/src/app/(dashboard)/app-store/[id]/components/InstallForm/InstallForm.tsx
index 4741d50e..c0e7d1e1 100644
--- a/src/app/(dashboard)/app-store/[id]/components/InstallForm/InstallForm.tsx
+++ b/src/app/(dashboard)/app-store/[id]/components/InstallForm/InstallForm.tsx
@@ -14,7 +14,7 @@ import { validateAppConfig } from '../../utils/validators';
interface IProps {
formFields: FormField[];
onSubmit: (values: FormValues) => void;
- initalValues?: { exposed?: boolean; domain?: string } & { [key: string]: string | boolean | undefined };
+ initalValues?: { [key: string]: unknown };
info: AppInfo;
loading?: boolean;
}
@@ -22,6 +22,7 @@ interface IProps {
export type FormValues = {
exposed?: boolean;
domain?: string;
+ isVisibleOnGuestDashboard?: boolean;
[key: string]: string | boolean | undefined;
};
@@ -50,7 +51,7 @@ export const InstallForm: React.FC
= ({ formFields, info, onSubmit, init
useEffect(() => {
if (initalValues && !isDirty) {
Object.entries(initalValues).forEach(([key, value]) => {
- setValue(key, value);
+ setValue(key, value as string);
});
}
}, [initalValues, isDirty, setValue]);
@@ -153,6 +154,14 @@ export const InstallForm: React.FC = ({ formFields, info, onSubmit, init
return (