diff --git a/admin/src/pages/View/components/NavigationItemForm/index.tsx b/admin/src/pages/View/components/NavigationItemForm/index.tsx index e34aa286..1706275c 100644 --- a/admin/src/pages/View/components/NavigationItemForm/index.tsx +++ b/admin/src/pages/View/components/NavigationItemForm/index.tsx @@ -190,8 +190,7 @@ const NavigationItemForm: React.FC = ({ if (isEmpty(formik.values.path) && !isEmpty(pathDefaultFields)) { const selectedEntity = isSingleSelected ? first(contentTypeEntities) - : contentTypeEntities.find(i => i.id === relatedSelectValue); - + : contentTypeEntities.find(i => String(i.id) === relatedSelectValue); const pathDefaultValues = pathDefaultFields .map((field) => get(selectedEntity, field, "")) .filter(value => !isNil(value) && String(value).match(/^\S+$/));