From 2b8d3a6ef505a8ebbbade96070ca4df20c8c8d99 Mon Sep 17 00:00:00 2001 From: pablonyx Date: Mon, 6 Jan 2025 11:26:55 -0800 Subject: [PATCH] fix white labelling empty string (#3603) --- web/src/app/ee/admin/whitelabeling/WhitelabelingForm.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/web/src/app/ee/admin/whitelabeling/WhitelabelingForm.tsx b/web/src/app/ee/admin/whitelabeling/WhitelabelingForm.tsx index 300cd37155d..53209ebfc2d 100644 --- a/web/src/app/ee/admin/whitelabeling/WhitelabelingForm.tsx +++ b/web/src/app/ee/admin/whitelabeling/WhitelabelingForm.tsx @@ -73,7 +73,9 @@ export function WhitelabelingForm() { }} validationSchema={Yup.object().shape({ auto_scroll: Yup.boolean().nullable(), - application_name: Yup.string().nullable(), + application_name: Yup.string() + .nullable() + .length(0, "Application name is required"), use_custom_logo: Yup.boolean().required(), use_custom_logotype: Yup.boolean().required(), custom_header_content: Yup.string().nullable(),