Re-render table view when switching back from Wikidata schema. Closes #1774.

This commit is contained in:
Antonin Delpeuch 2018-11-01 18:46:37 +00:00
parent 3fb282852d
commit 91e624e09f

View File

@ -198,6 +198,10 @@ SchemaAlignmentDialog.switchTab = function(targetTab) {
// Resize the inside of the schema panel
var headerHeight = this._schemaElmts.schemaHeader.outerHeight();
this._schemaElmts.canvas.height(panelHeight - headerHeight - 10);
if (targetTab === "#view-panel") {
ui.dataTableView.render();
}
}
SchemaAlignmentDialog.isSetUp = function() {