- add smart refetch to mark-export and reexport
Signed-off-by: Dave Richer <dave@imexsystems.ca>
This commit is contained in:
@@ -57,6 +57,7 @@ const PaymentMarkForExportButton = ({ bodyshop, payment, refetch, setPaymentCont
|
|||||||
},
|
},
|
||||||
context: {
|
context: {
|
||||||
...payment,
|
...payment,
|
||||||
|
smartRefetch: true,
|
||||||
exportedat: today
|
exportedat: today
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -34,6 +34,7 @@ const PaymentReexportButton = ({ payment, refetch, setPaymentContext }) => {
|
|||||||
refetch
|
refetch
|
||||||
},
|
},
|
||||||
context: {
|
context: {
|
||||||
|
smartRefetch: true,
|
||||||
...payment,
|
...payment,
|
||||||
exportedat: null
|
exportedat: null
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user