checkRunningReindexes()

in public/components/bulkReindexController.react.js [94:109]


    checkRunningReindexes() {
        this.requestBulkStatus().then(response => {
            let json = JSON.parse(response);
            let reindexInProgress =  json.IsReindexing;
            if (!reindexInProgress) {
                this.setState({
                    inBulkMode: false
                });
            } else {
                this.loadRunningReindexes(json);
                this.setState({
                    inBulkMode: true
                });
            }
        });
    }