Merge pull request #2709 from darecoder1999/issue-2675

Disables FacetContainer while computing clusters
This commit is contained in:
Thad Guidry 2020-06-12 13:56:40 -05:00 committed by GitHub
commit 13249ea252
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -283,6 +283,7 @@ ClusteringDialog.prototype._renderTable = function(clusters) {
}; };
ClusteringDialog.prototype._cluster = function() { ClusteringDialog.prototype._cluster = function() {
$(".clustering-dialog-facet").css("display","none");
var self = this; var self = this;
var container = this._elmts.tableContainer.html( var container = this._elmts.tableContainer.html(
@ -304,6 +305,7 @@ ClusteringDialog.prototype._cluster = function() {
}, },
function(data) { function(data) {
self._updateData(data); self._updateData(data);
$(".clustering-dialog-facet").css("display","block");
}, },
"json" "json"
); );