Skip to content

Commit 4f6eeb7

Browse files
committed
hide imap form in the course creation
1 parent 31f0345 commit 4f6eeb7

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

frontend/platform/courses/components/CourseForm.jsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,8 @@ function CourseForm({successCallback, failureCallback, cancelCallback, activeOrg
189189
<RequiredTextField label={localeMessages["course_slug"]} helperText={slugHelperText} fullWidth margin="normal" value={courseSlug} onChange={(e) => setCourseSlug(e.target.value)} {...(!createMode ? { disabled: true } : {})} />
190190

191191
<RequiredTextField label={localeMessages["course_description"]} helperText={descriptionHelperText} fullWidth margin="normal" multiline rows={4} value={courseDescription} onChange={(e) => setCourseDescription(e.target.value)} />
192-
<FormControlLabel
192+
{/* Imap Form is commented for now since it's backend command still not implemented but the API and UI works as expected */}
193+
{/* <FormControlLabel
193194
control={<Switch onChange={() => switchImapConnection()} checked={addImapConnection} dir={direction} />}
194195
label={localeMessages["add_imap_connection"]} sx={{ m: 0 }} />
195196
<Tooltip title={localeMessages["imap_connection_tooltip"]}>
@@ -205,7 +206,7 @@ function CourseForm({successCallback, failureCallback, cancelCallback, activeOrg
205206
activeOrganizationId={activeOrganizationId}
206207
initialImapConnectionId={imapConnectionId}
207208
/>
208-
</Box>}
209+
</Box>} */}
209210
<Box>
210211
<ImageUpload initialUrl={imageUrl} onUploadSuccess={(data) => {
211212
setImageUrl(data.file_url);

0 commit comments

Comments
 (0)