Skip to content

Commit

Permalink
fix(notebook): fix notebook plugin not loading notebook parameters wh…
Browse files Browse the repository at this point in the history
…en opening visualization (#61)
  • Loading branch information
Catalin-web authored May 29, 2024
1 parent 28245e7 commit c81d963
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/datasources/notebook/QueryEditor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export class QueryEditor extends PureComponent<Props, State> {
this.setState({ notebooks, loadingNotebooks: false });

if (this.props.query.id) {
const notebook = this.getNotebook(this.props.query.id);
const notebook = notebooks.find((notebook: Notebook) => notebook.id === this.props.query.id);
if (notebook) {
await this.populateNotebookMetadata(notebook);
}
Expand Down

0 comments on commit c81d963

Please sign in to comment.