We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
const viewer = document.querySelector('perspective-viewer'); viewer.clear(); // throws viewer.update([]);
No error thrown.
TypeError: Cannot read property 'clear' of undefined at HTMLElement.clear (some-file.js:1)
Probably caused by an inner this.table.clear() (or similar) when the table had not been instantiated.
this.table.clear()
"@finos/perspective-viewer": "^0.4.0-rc.4"
The text was updated successfully, but these errors were encountered:
Yes, this is precisely right - clear() requires a an existing table. We should sanitize for these cases in perspective-viewer.
clear()
perspective-viewer
Sorry, something went wrong.
Fixes #878
b6bae10
<perspective-workspace>
<perspective-viewer>
texodus
Successfully merging a pull request may close this issue.
Bug Report
Steps to Reproduce:
Expected Result:
No error thrown.
Actual Result:
Probably caused by an inner
this.table.clear()
(or similar) when the table had not been instantiated.Environment:
"@finos/perspective-viewer": "^0.4.0-rc.4"
The text was updated successfully, but these errors were encountered: