Skip to content

Commit b8c0069

Browse files
shreeyash07frozenhelium
authored andcommitted
fix form schema
1 parent ac3b9b1 commit b8c0069

File tree

1 file changed

+2
-2
lines changed
  • manager-dashboard/app/views/NewTutorial

1 file changed

+2
-2
lines changed

manager-dashboard/app/views/NewTutorial/utils.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -465,6 +465,7 @@ export const tutorialFormSchema: TutorialFormSchema = {
465465
tileServer: {
466466
fields: tileServerFieldsSchema,
467467
},
468+
tutorialTasks: {},
468469
scenarioPages: {
469470
keySelector: (key) => key.scenarioId,
470471
member: (): ScenarioPagesFormSchemaMember => ({
@@ -567,8 +568,7 @@ export const tutorialFormSchema: TutorialFormSchema = {
567568
return {
568569
textDescription: {
569570
required: true,
570-
// eslint-disable-next-line max-len
571-
requiredValidations: requiredStringCondition,
571+
requiredValdation: requiredStringCondition,
572572
// eslint-disable-next-line max-len
573573
validations: [getNoMoreThanNCharacterCondition(LG_TEXT_MAX_LENGTH)],
574574
},

0 commit comments

Comments
 (0)