mirror of
https://github.com/vale981/Vulcan
synced 2025-03-05 17:41:43 -05:00
Add notifyOnNetworkStatusChange option to withList
This commit is contained in:
parent
fae0e812df
commit
ac838a65e4
1 changed files with 5 additions and 0 deletions
|
@ -136,6 +136,11 @@ const withList = (options) => {
|
|||
if (options.fetchPolicy) {
|
||||
graphQLOptions.fetchPolicy = options.fetchPolicy
|
||||
}
|
||||
|
||||
// set to true if running into https://github.com/apollographql/apollo-client/issues/1186
|
||||
if (options.notifyOnNetworkStatusChange) {
|
||||
graphQLOptions.notifyOnNetworkStatusChange = options.notifyOnNetworkStatusChange
|
||||
}
|
||||
|
||||
return graphQLOptions;
|
||||
},
|
||||
|
|
Loading…
Add table
Reference in a new issue