소스 검색

undisplay data collections when the version different.

kaori-t 5 년 전
부모
커밋
5f09c197bb
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/client/js/components/Admin/ImportData/GrowiArchiveSection.jsx

+ 1 - 1
src/client/js/components/Admin/ImportData/GrowiArchiveSection.jsx

@@ -132,7 +132,7 @@ class GrowiArchiveSection extends React.Component {
         </div>
 
         {isTheSameVersion === false && this.renderDefferentVersionAlert()}
-        {this.state.fileName != null ? (
+        {this.state.fileName != null && isTheSameVersion === true ?  (
           <div className="px-4">
             <ImportForm
               fileName={this.state.fileName}