diff --git a/web/app/(home)/CreateMetalakeDialog.js b/web/app/(home)/CreateMetalakeDialog.js index 5b20b2e810c..ace3036012c 100644 --- a/web/app/(home)/CreateMetalakeDialog.js +++ b/web/app/(home)/CreateMetalakeDialog.js @@ -118,7 +118,7 @@ const CreateMetalakeDialog = props => { useEffect(() => { if (open && JSON.stringify(data) !== '{}') { setCacheData(data) - const { properties } = data + const { properties = {} } = data const propsArr = Object.keys(properties).map(item => { return { diff --git a/web/app/metalakes/CreateCatalogDialog.js b/web/app/metalakes/CreateCatalogDialog.js index f9a357f1519..2db4916055d 100644 --- a/web/app/metalakes/CreateCatalogDialog.js +++ b/web/app/metalakes/CreateCatalogDialog.js @@ -215,7 +215,7 @@ const CreateCatalogDialog = props => { useEffect(() => { if (open && JSON.stringify(data) !== '{}') { setCacheData(data) - const { properties } = data + const { properties = {} } = data const propsArr = Object.keys(properties).map(item => { return {