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

refresh rendered dataset after loading new dataset #9157

Closed
wants to merge 1 commit into from

Conversation

smartguest
Copy link
Contributor

The load dataset function now updates the rendered datasets upon loading a new dataSet (such as after a query).

This PR fixes #9145

@Charles-Gagnon
Copy link
Contributor

Please change this PR to merge into master and then we'll cherry pick into 1.15 once we've got it in there.

@smartguest smartguest closed this Feb 14, 2020
@@ -394,6 +394,9 @@ export class EditDataGridPanel extends GridParentComponent {
undefinedDataSet.dataRows = undefined;
undefinedDataSet.resized = new Emitter();
self.placeHolderDataSets.push(undefinedDataSet);
if (self.placeHolderDataSets[0]) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is always going to be true since the line above has us pushing the new undefinedDataSet into the array. So at the very least this is unnecessary.

@smartguest smartguest deleted the alex/fixforquerycolumnsport branch February 27, 2020 20:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants