Explorar o código

ensure to retrieve indices status after request to rebuild index

Yuki Takei %!s(int64=6) %!d(string=hai) anos
pai
achega
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 = []) {