graphql: specify fetchPolicy to some queries

This commit is contained in:
vchikalkin 2023-02-01 20:02:04 +03:00
parent 30b6947314
commit 3bc6f43551
3 changed files with 3 additions and 0 deletions

View File

@ -319,6 +319,7 @@ export default function commonReactions({ store, apolloClient }: ReactionsContex
variables: {
currentDate,
},
fetchPolicy: 'network-only',
});
if (!$calculation.element('cbxRecalcWithRevision').getValue()) {

View File

@ -32,6 +32,7 @@ export default function valuesReactions({ store, apolloClient }: ReactionsContex
variables: {
currentDate,
},
fetchPolicy: 'network-only',
});
if (product && leasingPeriod && deliveryTime && evo_tarifs) {

View File

@ -102,6 +102,7 @@ export default function commonReactions({ store, apolloClient }: ReactionsContex
variables: {
leadid,
},
fetchPolicy: 'network-only',
});
$calculation.element('selectQuote').setOptions(normalizeOptions(quotes));