소스 검색

show toastr when normalizing has succeeded

Yuki Takei 6 년 전
부모
커밋
9ca91e475b
1개의 변경된 파일3개의 추가작업 그리고 1개의 파일을 삭제
  1. 3 1
      src/client/js/components/Admin/FullTextSearchManagement/RebuildIndex.jsx

+ 3 - 1
src/client/js/components/Admin/FullTextSearchManagement/RebuildIndex.jsx

@@ -85,7 +85,9 @@ class RebuildIndex extends React.Component {
       toastError(e);
     }
 
-    this.retrieveIndicesStatus();
+    await this.retrieveIndicesStatus();
+
+    toastSuccess('Normalizing has succeeded');
   }
 
   async rebuildIndices() {