File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed
web/components/course/components Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -70,7 +70,7 @@ export default function CourseRegisterConfirmDialog({
7070 </ div >
7171 ) }
7272 { isLoading ? (
73- < div className = "alert alert-info " > 読み込み中...</ div >
73+ < div className = "px-4 py-2 " > 読み込み中...</ div >
7474 ) : (
7575 mode === "add" &&
7676 coursesToBeDeletedString && (
Original file line number Diff line number Diff line change @@ -129,7 +129,10 @@ export default function SelectCourseDialog({
129129 { newCourse && (
130130 < CourseRegisterConfirmDialog
131131 open = { confirmDialogStatus !== "closed" }
132- onClose = { ( ) => setConfirmDialogStatus ( "closed" ) }
132+ onClose = { ( ) => {
133+ setConfirmDialogStatus ( "closed" ) ;
134+ setNewCourse ( null ) ;
135+ } }
133136 courseToAddOrDelete = { newCourse }
134137 mode = { confirmDialogStatus === "delete" ? "delete" : "add" }
135138 handleSelectDialogClose = { onClose }
You can’t perform that action at this time.
0 commit comments