瀏覽代碼

solve lint err

sooouh 6 年之前
父節點
當前提交
590ab28d05
共有 1 個文件被更改,包括 6 次插入5 次删除
  1. 6 5
      src/client/js/components/Admin/ImportData/GrowiArchive/ImportCollectionItem.jsx

+ 6 - 5
src/client/js/components/Admin/ImportData/GrowiArchive/ImportCollectionItem.jsx

@@ -5,6 +5,7 @@ import PropTypes from 'prop-types';
 import { withTranslation } from 'react-i18next';
 
 // import ProgressBar from 'react-bootstrap/es/ProgressBar';
+import { Progress } from 'reactstrap';
 
 import GrowiArchiveImportOption from '@commons/models/admin/growi-archive-import-option';
 
@@ -166,11 +167,11 @@ export default class ImportCollectionItem extends React.Component {
     const total = insertedCount + modifiedCount + errorsCount;
 
     return (
-      <ProgressBar className="mb-0">
-        <ProgressBar max={total} striped={isImporting} active={isImporting} now={insertedCount} bsStyle="info" />
-        <ProgressBar max={total} striped={isImporting} active={isImporting} now={modifiedCount} bsStyle="success" />
-        <ProgressBar max={total} striped={isImporting} active={isImporting} now={errorsCount} bsStyle="danger" />
-      </ProgressBar>
+      <Progress className="mb-0">
+        <Progress max={total} striped={isImporting} active={isImporting} now={insertedCount} bsStyle="info" />
+        <Progress max={total} striped={isImporting} active={isImporting} now={modifiedCount} bsStyle="success" />
+        <Progress max={total} striped={isImporting} active={isImporting} now={errorsCount} bsStyle="danger" />
+      </Progress>
     );
   }