Merge pull request #1796 from OpenRefine/issue1774

Re-render table view when switching back from Wikidata schema.
This commit is contained in:
Antonin Delpeuch 2018-11-05 17:33:26 +00:00 committed by GitHub
commit fe6aef5290
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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() {