Quellcode durchsuchen

ensure to reset selectedCollections of ExportZipFormModal

Yuki Takei vor 6 Jahren
Ursprung
Commit
545950a2fa
1 geänderte Dateien mit 2 neuen und 0 gelöschten Zeilen
  1. 2 0
      src/client/js/components/Admin/Export/ExportZipFormModal.jsx

+ 2 - 0
src/client/js/components/Admin/Export/ExportZipFormModal.jsx

@@ -87,6 +87,8 @@ class ExportZipFormModal extends React.Component {
       this.props.onExportingRequested(result.status);
       this.props.onClose();
 
+      this.setState({ selectedCollections: new Set() });
+
     }
     catch (err) {
       // TODO: toastSuccess, toastError