瀏覽代碼

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() {