File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1146,6 +1146,7 @@ const deleteArchive = async (archive) => {
11461146 courseName: selectedSubject .value ,
11471147 })
11481148
1149+ shouldResetPanels .value = true
11491150 await fetchArchives ()
11501151 toast .add ({
11511152 severity: ' success' ,
@@ -1257,6 +1258,7 @@ const handleEdit = async () => {
12571258 targetCategory: editForm .value .shouldTransfer ? editForm .value .targetCategory : null ,
12581259 })
12591260
1261+ shouldResetPanels .value = true
12601262 await fetchArchives ()
12611263
12621264 // If transfer was performed, refresh the course list to show the new course
@@ -1335,6 +1337,7 @@ async function handleUploadSuccess() {
13351337 })
13361338
13371339 await fetchCourses ()
1340+ shouldResetPanels .value = true
13381341 if (selectedCourse .value ) {
13391342 await fetchArchives ()
13401343 }
You can’t perform that action at this time.
0 commit comments