Просмотр исходного кода

show toastr when normalizing has succeeded

Yuki Takei 6 лет назад
Родитель
Сommit
9ca91e475b

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