zahmis пре 5 година
родитељ
комит
a4f8b8abce
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      src/client/js/components/ArchiveCreateModal.jsx

+ 1 - 1
src/client/js/components/ArchiveCreateModal.jsx

@@ -66,11 +66,11 @@ const ArchiveCreateModal = (props) => {
         hierarchyValue,
       });
       toastSuccess(t('Submitted the request to create the archive'));
+      closeModalHandler();
     }
     catch (e) {
       toastError(e);
     }
-    closeModalHandler();
   }
 
   return (