diff --git a/src/modules/apps/AppSingle.tsx b/src/modules/apps/AppSingle.tsx index 79c0cc50e70f2ff0361fbab046be52a8c839c455..92ea12503e692c08456740bcfd5cf2d69a0356c0 100644 --- a/src/modules/apps/AppSingle.tsx +++ b/src/modules/apps/AppSingle.tsx @@ -59,7 +59,7 @@ export const AppSingle: React.FC = () => { type="button" className="inline-flex items-center px-4 py-2 border border-gray-200 shadow-sm text-sm font-medium rounded-md text-gray-700 bg-white hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-primary-500 justify-center" > - View Documentation + View manual </button> </div> </div> diff --git a/src/modules/apps/components/AppInstallModal/AppInstallModal.tsx b/src/modules/apps/components/AppInstallModal/AppInstallModal.tsx index 4a2b925df9314c6269489f50f32ea5f8c942e227..8bd8d4ec7830f74892b3fedadaf38fb45f75ceba 100644 --- a/src/modules/apps/components/AppInstallModal/AppInstallModal.tsx +++ b/src/modules/apps/components/AppInstallModal/AppInstallModal.tsx @@ -28,11 +28,11 @@ export const AppInstallModal = ({ open, onClose, appSlug }: AppInstallModalProps useEffect(() => { if (!_.isEmpty(app)) { setAppName(app.name); - reset({ subdomain: getDefaultSubdomain(), configuration: initialCode }); + reset({ subdomain: getDefaultSubdomain(), configuration: initialCode, slug: appSlug ?? '' }); } return () => { - reset({ subdomain: getDefaultSubdomain(), configuration: initialCode }); + reset({ subdomain: getDefaultSubdomain(), configuration: initialCode, slug: appSlug ?? '' }); }; // eslint-disable-next-line react-hooks/exhaustive-deps }, [app, reset, open]);