Skip to content
This repository has been archived by the owner on Feb 13, 2024. It is now read-only.

Commit

Permalink
bugfix: render chart
Browse files Browse the repository at this point in the history
  • Loading branch information
xgui3783 committed Feb 18, 2020
1 parent 5735c35 commit 1a47174
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "kg-dataset-previewer",
"version": "0.0.13",
"version": "0.0.14",
"description": "Preview a few manually curated datasets.",
"main": "dist/index.js",
"module": "dist/index.mjs",
Expand Down
1 change: 1 addition & 0 deletions src/components/kg-dataset-previewer-charts/chart.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@ export class KgPreviewChart{
}

protected setConfigData(){
if (!this.dataProp) return
this.data = JSON.parse(this.dataProp)
this.renderChart()
}
Expand Down

0 comments on commit 1a47174

Please sign in to comment.