Skip to content

Commit

Permalink
fix white labelling empty string (#3603)
Browse files Browse the repository at this point in the history
  • Loading branch information
pablonyx authored Jan 6, 2025
1 parent 4fb129e commit 2b8d3a6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion web/src/app/ee/admin/whitelabeling/WhitelabelingForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
Expand Down

0 comments on commit 2b8d3a6

Please sign in to comment.