Re-render table view when switching back from Wikidata schema. Closes #1774.
This commit is contained in:
parent
3fb282852d
commit
91e624e09f
@ -198,6 +198,10 @@ SchemaAlignmentDialog.switchTab = function(targetTab) {
|
|||||||
// Resize the inside of the schema panel
|
// Resize the inside of the schema panel
|
||||||
var headerHeight = this._schemaElmts.schemaHeader.outerHeight();
|
var headerHeight = this._schemaElmts.schemaHeader.outerHeight();
|
||||||
this._schemaElmts.canvas.height(panelHeight - headerHeight - 10);
|
this._schemaElmts.canvas.height(panelHeight - headerHeight - 10);
|
||||||
|
|
||||||
|
if (targetTab === "#view-panel") {
|
||||||
|
ui.dataTableView.render();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
SchemaAlignmentDialog.isSetUp = function() {
|
SchemaAlignmentDialog.isSetUp = function() {
|
||||||
|
Loading…
Reference in New Issue
Block a user