zahmis 5 лет назад
Родитель
Сommit
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 (