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

show toastr when normalizing has succeeded

Yuki Takei 6 лет назад
Родитель
Сommit
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);
       toastError(e);
     }
     }
 
 
-    this.retrieveIndicesStatus();
+    await this.retrieveIndicesStatus();
+
+    toastSuccess('Normalizing has succeeded');
   }
   }
 
 
   async rebuildIndices() {
   async rebuildIndices() {