From bb9d535b00a64c349db88e70b5729d27553f227f Mon Sep 17 00:00:00 2001 From: amansinghbais Date: Tue, 9 Jul 2024 09:42:01 +0530 Subject: [PATCH] Improved: added viewSize while fetching draft job and reverted env entry for frequency options (#356) --- .env.example | 1 - src/store/modules/channel/actions.ts | 3 ++- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.env.example b/.env.example index 65d63adb..cfcf6146 100644 --- a/.env.example +++ b/.env.example @@ -10,5 +10,4 @@ VUE_APP_ALIAS={} VUE_APP_DEFAULT_ALIAS="" VUE_APP_DEFAULT_LOG_LEVEL="error" VUE_APP_CRON_EXPRESSIONS={"Every 5 minutes":"0 */5 * ? * *","Every 15 minutes":"0 */15 * ? * *","Every 30 minutes":"0 */30 * ? * *","Hourly":"0 0 * ? * *","Every six hours":"0 0 */6 ? * *","Every day at midnight":"0 0 0 * * ?"} -VUE_APP_SHOPIFY_JOBS_FREQUENCY_OPTIONS=[{"id": "HOURLY","description":"Hourly"},{"id": "EVERY_6_HOUR","description":"Every 6 hours"},{"id":"EVERYDAY","description":"Every day"},{"id":"CUSTOM","description":"Custom"}] VUE_APP_LOGIN_URL="https://launchpad.hotwax.io/login" diff --git a/src/store/modules/channel/actions.ts b/src/store/modules/channel/actions.ts index 7f9e4e50..c0819dda 100644 --- a/src/store/modules/channel/actions.ts +++ b/src/store/modules/channel/actions.ts @@ -112,7 +112,8 @@ const actions: ActionTree = { systemJobEnumId: "JOB_UL_INV" } as any, fieldList: ["systemJobEnumId", "runTime", "tempExprId", "parentJobId", "serviceName", "jobId", "jobName", "currentRetryCount", "statusId", "productStoreId", "runtimeDataId", "shopId", "description", "enumTypeId", "enumName"], - noConditionFind: "Y" + noConditionFind: "Y", + viewSize: 1 } const draftJobs = await ChannelService.fetchJobInformation(params);