Przeglądaj źródła

improve GrowiZipImportItem

Yuki Takei 6 lat temu
rodzic
commit
1f174e4bb9

+ 2 - 2
src/client/js/components/Admin/ImportData/GrowiZipImportItem.jsx

@@ -176,9 +176,9 @@ export default class GrowiZipImportItem extends React.Component {
   }
 
   renderBody() {
-    const { isImported } = this.props;
+    const { isImporting, isImported } = this.props;
 
-    if (!isImported) {
+    if (!isImporting && !isImported) {
       return 'Ready';
     }