Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

<perspective-viewer> UI cleanup #905

Merged
merged 10 commits into from
Feb 5, 2020
Prev Previous commit
Next Next commit
Fixes #878
  • Loading branch information
texodus committed Feb 3, 2020
commit b6bae10fde46bc92d148b18264faa70f72c75f18
4 changes: 2 additions & 2 deletions packages/perspective-viewer/src/js/viewer.js
Original file line number Diff line number Diff line change
Expand Up @@ -675,14 +675,14 @@ class PerspectiveViewer extends ActionElement {
* Clears the rows in the current {@link table}.
*/
clear() {
this._table.clear();
this._table?.clear();
}

/**
* Replaces all rows in the current {@link table}.
*/
replace(data) {
this._table.replace(data);
this._table ? this._table.replace(data) : this._load(data);
}

/**
Expand Down