diff --git a/ui/src/pages/Admin/General/index.tsx b/ui/src/pages/Admin/General/index.tsx index 63fe681e..d61b1ed8 100644 --- a/ui/src/pages/Admin/General/index.tsx +++ b/ui/src/pages/Admin/General/index.tsx @@ -38,7 +38,7 @@ const General: FC = () => { }); const checkValidated = (): boolean => { let ret = true; - const { name, short_description, description } = formData; + const { name } = formData; if (!name.value) { ret = false; formData.name = { @@ -47,22 +47,6 @@ const General: FC = () => { errorMsg: t('name.msg'), }; } - if (!short_description.value) { - ret = false; - formData.short_description = { - value: '', - isInvalid: true, - errorMsg: t('short_description.msg'), - }; - } - if (!description.value) { - ret = false; - formData.description = { - value: '', - isInvalid: true, - errorMsg: t('description.msg'), - }; - } setFormData({ ...formData, }); diff --git a/ui/src/pages/Admin/Interface/index.tsx b/ui/src/pages/Admin/Interface/index.tsx index f82cbc2b..38040c98 100644 --- a/ui/src/pages/Admin/Interface/index.tsx +++ b/ui/src/pages/Admin/Interface/index.tsx @@ -73,16 +73,8 @@ const Interface: FC = () => { const checkValidated = (): boolean => { let ret = true; - const { logo, theme, language } = formData; + const { theme, language } = formData; const formCheckData = { ...formData }; - if (!logo.value) { - ret = false; - formCheckData.logo = { - value: '', - isInvalid: true, - errorMsg: t('logo.msg'), - }; - } if (!theme.value) { ret = false; formCheckData.theme = {