Skip to content

Fix updating columns#7171

Merged
bramkragten merged 6 commits intodevfrom
fix-updating-columns
Sep 30, 2020
Merged

Fix updating columns#7171
bramkragten merged 6 commits intodevfrom
fix-updating-columns

Conversation

@bramkragten
Copy link
Member

@bramkragten bramkragten commented Sep 30, 2020

Breaking change

Proposed change

Type of change

  • Dependency upgrade
  • Bugfix (non-breaking change which fixes an issue)
  • New feature (thank you!)
  • Breaking change (fix/feature causing existing functionality to break)
  • Code quality improvements to existing code or addition of tests

Example configuration

Additional information

  • This PR fixes or closes issue: fixes #
  • This PR is related to issue:
  • Link to documentation pull request:

Checklist

  • The code change is tested and works locally.
  • There is no commented out code in this PR.
  • Tests have been added to verify that the new code works.

If user exposed functionality or configuration variables are added/changed:

}

protected firstUpdated(): void {
this._updateColumns = this._updateColumns.bind(this);
Copy link
Contributor

Choose a reason for hiding this comment

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

I dont understand this part

Copy link
Member Author

Choose a reason for hiding this comment

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

It would not use the context of the class, as the event listener would call it, it is the same as () => this._updateColumns()

Copy link
Contributor

Choose a reason for hiding this comment

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

Oh that makes sense. 👍

Copy link
Contributor

@zsarnett zsarnett left a comment

Choose a reason for hiding this comment

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

Oops forgot to take this out 😬 . Thanks! 👍

Co-authored-by: Zack Barett <arnett.zackary@gmail.com>
@bramkragten bramkragten merged commit 3ae447c into dev Sep 30, 2020
@bramkragten bramkragten deleted the fix-updating-columns branch September 30, 2020 14:57
@bramkragten bramkragten mentioned this pull request Sep 30, 2020
@github-actions github-actions bot locked and limited conversation to collaborators Jul 5, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants