Skip to content

Commit

Permalink
Merge pull request #3627 from onyx-dot-app/whitelabeling_name
Browse files Browse the repository at this point in the history
Whitelabelling
  • Loading branch information
pablonyx authored Jan 8, 2025
2 parents 02f72a5 + ce25721 commit 7175608
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions web/src/app/ee/admin/whitelabeling/WhitelabelingForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,9 @@ export function WhitelabelingForm() {
validationSchema={Yup.object().shape({
auto_scroll: Yup.boolean().nullable(),
application_name: Yup.string()
.nullable()
.length(0, "Application name is required"),
.required("Application name is required")
.trim()
.min(1, "Application name cannot be empty"),
use_custom_logo: Yup.boolean().required(),
use_custom_logotype: Yup.boolean().required(),
custom_header_content: Yup.string().nullable(),
Expand Down

0 comments on commit 7175608

Please sign in to comment.