-
Notifications
You must be signed in to change notification settings - Fork 1
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
[HS-1251563] Sort and refresh contact tags #1179
Conversation
Preview branch generated at https://hs-1251563-tags-issues.d3dytjb8adxkk5.amplifyapp.com |
page === 'contacts' ? ContactFiltersDocument : TaskFiltersDocument, | ||
variables: { accountListId }, | ||
}, | ||
page === 'contacts' ? ContactFiltersDocument : TaskFiltersDocument, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For some reason, how this was wasn't causing the data to refresh. Removing the variables makes it work though.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wonder if it saw it as a different query
Bundle sizes [mpdx-react]Compared against 5bd236b
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The code looks great. I'm a little bit confused with this message: https://secure.helpscout.net/conversation/2749833892/1251563/
Why do you need to refetch the whole contact list when you can just refetch the filters?
page === 'contacts' ? ContactFiltersDocument : TaskFiltersDocument, | ||
variables: { accountListId }, | ||
}, | ||
page === 'contacts' ? ContactFiltersDocument : TaskFiltersDocument, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wonder if it saw it as a different query
Description
https://secure.helpscout.net/conversation/2749833892/1251563/
Checklist: