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

#1341 setup sites screen #214

Merged
merged 4 commits into from
Aug 26, 2022
Merged

#1341 setup sites screen #214

merged 4 commits into from
Aug 26, 2022

Conversation

mspratt-biot
Copy link

No description provided.

});
}

ngOnDestroy() {

Choose a reason for hiding this comment

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

:void :)

}

filterData = (filters: SearchFilterItem[]): void => {
// arrow to hold onto this

Choose a reason for hiding this comment

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

What does this comment mean?

Copy link
Author

Choose a reason for hiding this comment

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

filterData will be used in the html template and passed in as a callback to another component down the line. so this will reference the callbacks component instead of this one. Arrow functions hold onto this.

Choose a reason for hiding this comment

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

ok 😕.

@slevertbiot
Copy link

I approve of this MR. 😄

@mspratt-biot mspratt-biot merged commit 229f8f2 into master Aug 26, 2022
@mspratt-biot mspratt-biot deleted the #1341-SetupSitesScreen branch September 13, 2022 18:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants