mirror of
https://github.com/rzmk/learnhouse.git
synced 2025-12-19 04:19:25 +00:00
fix: Couldn't update course's details when it is in "users only" access mode #389
This commit is contained in:
parent
db46c94896
commit
9929edffc0
1 changed files with 1 additions and 1 deletions
|
|
@ -51,7 +51,7 @@ function EditCourseGeneral(props: EditCourseStructureProps) {
|
||||||
about: courseStructure?.about || '',
|
about: courseStructure?.about || '',
|
||||||
learnings: courseStructure?.learnings || '',
|
learnings: courseStructure?.learnings || '',
|
||||||
tags: courseStructure?.tags || '',
|
tags: courseStructure?.tags || '',
|
||||||
public: courseStructure?.public || '',
|
public: courseStructure?.public || false,
|
||||||
},
|
},
|
||||||
validate,
|
validate,
|
||||||
onSubmit: async values => {
|
onSubmit: async values => {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue