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

ensure to retrieve indices status after request to rebuild index

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

+ 2 - 0
src/client/js/components/Admin/FullTextSearchManagement/RebuildIndex.jsx

@@ -106,6 +106,8 @@ class RebuildIndex extends React.Component {
     catch (e) {
       toastError(e);
     }
+
+    await this.retrieveIndicesStatus();
   }
 
   renderIndexInfoPanel(indexName, body = {}, aliases = []) {