graphql: specify fetchPolicy to some queries
This commit is contained in:
parent
30b6947314
commit
3bc6f43551
@ -319,6 +319,7 @@ export default function commonReactions({ store, apolloClient }: ReactionsContex
|
||||
variables: {
|
||||
currentDate,
|
||||
},
|
||||
fetchPolicy: 'network-only',
|
||||
});
|
||||
|
||||
if (!$calculation.element('cbxRecalcWithRevision').getValue()) {
|
||||
|
||||
@ -32,6 +32,7 @@ export default function valuesReactions({ store, apolloClient }: ReactionsContex
|
||||
variables: {
|
||||
currentDate,
|
||||
},
|
||||
fetchPolicy: 'network-only',
|
||||
});
|
||||
|
||||
if (product && leasingPeriod && deliveryTime && evo_tarifs) {
|
||||
|
||||
@ -102,6 +102,7 @@ export default function commonReactions({ store, apolloClient }: ReactionsContex
|
||||
variables: {
|
||||
leadid,
|
||||
},
|
||||
fetchPolicy: 'network-only',
|
||||
});
|
||||
|
||||
$calculation.element('selectQuote').setOptions(normalizeOptions(quotes));
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user