diff --git a/dashboard/CHANGELOG.md b/dashboard/CHANGELOG.md index ac901c2371..56be138e5b 100644 --- a/dashboard/CHANGELOG.md +++ b/dashboard/CHANGELOG.md @@ -1,5 +1,11 @@ # @nhost/dashboard +## 0.20.13 + +### Patch Changes + +- e84acf469: fix(run): handle subdomain undefined error when creating a new service + ## 0.20.12 ### Patch Changes diff --git a/dashboard/package.json b/dashboard/package.json index fb507d59a3..0099cad3f1 100644 --- a/dashboard/package.json +++ b/dashboard/package.json @@ -1,6 +1,6 @@ { "name": "@nhost/dashboard", - "version": "0.20.12", + "version": "0.20.13", "private": true, "scripts": { "preinstall": "npx only-allow pnpm", diff --git a/dashboard/src/features/services/components/ServiceForm/ServiceForm.tsx b/dashboard/src/features/services/components/ServiceForm/ServiceForm.tsx index faee75f35c..f6e0c7c4e4 100644 --- a/dashboard/src/features/services/components/ServiceForm/ServiceForm.tsx +++ b/dashboard/src/features/services/components/ServiceForm/ServiceForm.tsx @@ -122,7 +122,7 @@ export default function ServiceForm({ const [replaceRunServiceConfig] = useReplaceRunServiceConfigMutation(); const [detailsServiceId, setDetailsServiceId] = useState(''); const [detailsServiceSubdomain, setDetailsServiceSubdomain] = useState( - initialData.subdomain, + initialData?.subdomain, ); const [createServiceFormError, setCreateServiceFormError] = @@ -345,7 +345,7 @@ export default function ServiceForm({ @@ -385,7 +385,7 @@ export default function ServiceForm({ > @@ -416,7 +416,7 @@ export default function ServiceForm({ @@ -460,7 +460,7 @@ export default function ServiceForm({ {createServiceFormError && ( Error: {createServiceFormError.message} diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md index cea1932425..bcf1f121f2 100644 --- a/docs/CHANGELOG.md +++ b/docs/CHANGELOG.md @@ -1,5 +1,11 @@ # @nhost/docs +## 0.5.1 + +### Patch Changes + +- 819e1e97d: update fqdn format for nhost run + ## 0.5.0 ### Minor Changes diff --git a/docs/package.json b/docs/package.json index 697629258d..a9adf179e4 100644 --- a/docs/package.json +++ b/docs/package.json @@ -1,6 +1,6 @@ { "name": "@nhost/docs", - "version": "0.5.0", + "version": "0.5.1", "private": true, "scripts": { "docusaurus": "docusaurus",