diff --git a/src/views/GeneralReception.vue b/src/views/GeneralReception.vue index ba81123b7..76603870e 100644 --- a/src/views/GeneralReception.vue +++ b/src/views/GeneralReception.vue @@ -298,12 +298,18 @@ export default { // printEnabled is used to disable the print button if there are no barcodes to print printEnabled: ({ printerName, printBarcodes }) => printerName && printBarcodes, }, - // Refetches the data when the barcodes field is changed watch: { + // Refetches the data when the barcodes field is changed barcodes: { handler: 'debounceBarcodeFetch', immediate: true, }, + // Refetches the data when a request option changes as it may require information from sequencescape + requestOptions: { + handler: 'debounceBarcodeFetch', + deep: true, + immediate: true, + }, }, methods: { clearModal() {