From 572be439f7d3f390eb9e0bfd58f34bd931737214 Mon Sep 17 00:00:00 2001 From: Yash Maheshwari Date: Wed, 12 Jul 2023 15:53:33 +0530 Subject: [PATCH] Improved: variable name for printing picklist(#176) --- src/views/InProgress.vue | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/views/InProgress.vue b/src/views/InProgress.vue index 5ca89cce..c94b8409 100644 --- a/src/views/InProgress.vue +++ b/src/views/InProgress.vue @@ -27,7 +27,7 @@ {{ picklist.pickersName }}

{{ picklist.date }}

- + @@ -254,7 +254,6 @@ export default defineComponent({ picklists: [] as any, defaultShipmentBoxType: '', itemsIssueSegmentSelected: [] as any, - isGeneratingDocument: false as boolean } }, methods: { @@ -622,7 +621,7 @@ export default defineComponent({ id: picklist.picklistId, pickersName: pickersName.join(', '), date: DateTime.fromMillis(picklist.picklistDate).toLocaleString(DateTime.TIME_SIMPLE), - isGeneratingDocument: false // used to display the spinner on the button when trying to generate picklist + isGeneratingPicklist: false // used to display the spinner on the button when trying to generate picklist }) return picklists @@ -764,9 +763,9 @@ export default defineComponent({ await this.updateOrderQuery(process.env.VUE_APP_VIEW_SIZE, '') }, async printPicklist(picklist: any) { - picklist.isGeneratingDocument = true; + picklist.isGeneratingPicklist = true; await OrderService.printPicklist(picklist.id) - picklist.isGeneratingDocument = false; + picklist.isGeneratingPicklist = false; } }, async mounted () {