From 5335c2939a7c2307fec946918c22c75115233b6d Mon Sep 17 00:00:00 2001 From: Yash Maheshwari Date: Wed, 29 May 2024 22:55:20 +0530 Subject: [PATCH] Fixed: code to handle errors(#285) --- src/components/ScheduledRestockPopover.vue | 33 +++++- src/services/StockService.ts | 20 +++- src/store/index.ts | 2 +- src/store/modules/stock/actions.ts | 10 +- src/views/ScheduledRestock.vue | 116 +++++++++++++++------ src/views/ScheduledRestockReview.vue | 66 +++++++----- 6 files changed, 178 insertions(+), 69 deletions(-) diff --git a/src/components/ScheduledRestockPopover.vue b/src/components/ScheduledRestockPopover.vue index 4effb876..5333fdc1 100644 --- a/src/components/ScheduledRestockPopover.vue +++ b/src/components/ScheduledRestockPopover.vue @@ -2,12 +2,12 @@ - jobname + {{ job.jobName || job.jobId }} Reschedule - + Cancel @@ -15,6 +15,10 @@