mirror of
https://github.com/simonw/datasette-vega.git
synced 2026-09-27 20:34:15 +02:00
Respect fragment hash on page load, closes #7
This commit is contained in:
parent
49b983141e
commit
bdb39c7c03
1 changed files with 3 additions and 1 deletions
|
|
@ -81,7 +81,9 @@ class DatasetteVega extends Component {
|
|||
columns: columns,
|
||||
x_column: columns[0],
|
||||
y_column: columns[1],
|
||||
}, this.renderGraph);
|
||||
}, () => {
|
||||
this.onPopStateChange();
|
||||
});
|
||||
}
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue