From 979eae8298275996a85b08440ffee3a0c55d8468 Mon Sep 17 00:00:00 2001 From: shashwatbangar Date: Mon, 1 Aug 2022 15:47:51 +0530 Subject: [PATCH 1/3] Implemented: Code to get job description from enumDescription(#364trwn) --- src/components/JobConfiguration.vue | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/components/JobConfiguration.vue b/src/components/JobConfiguration.vue index df243c58..9b60164b 100644 --- a/src/components/JobConfiguration.vue +++ b/src/components/JobConfiguration.vue @@ -7,6 +7,12 @@ + + +

{{ getEnumDescription(currentJob.systemJobEnumId) }}

+
+
+ {{ $t("Run time") }} @@ -126,6 +132,7 @@ export default defineComponent({ shopifyConfigId: 'user/getShopifyConfigId', currentEComStore: 'user/getCurrentEComStore', currentJob: 'job/getCurrentJob', + getEnumDescription: 'job/getEnumDescription' }), generateFrequencyOptions(): any { const optionDefault = [{ From 1912197c0e975ab7fab4bde84fe200edaa4c3396 Mon Sep 17 00:00:00 2001 From: shashwatbangar Date: Mon, 1 Aug 2022 17:08:41 +0530 Subject: [PATCH 2/3] Fixed: Code to get job description in job configuration view(#364trwn) --- src/components/JobConfiguration.vue | 3 +-- src/store/modules/job/actions.ts | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/components/JobConfiguration.vue b/src/components/JobConfiguration.vue index 9b60164b..b8f54d19 100644 --- a/src/components/JobConfiguration.vue +++ b/src/components/JobConfiguration.vue @@ -9,7 +9,7 @@ -

{{ getEnumDescription(currentJob.systemJobEnumId) }}

+

{{ currentJob.description }}

@@ -132,7 +132,6 @@ export default defineComponent({ shopifyConfigId: 'user/getShopifyConfigId', currentEComStore: 'user/getCurrentEComStore', currentJob: 'job/getCurrentJob', - getEnumDescription: 'job/getEnumDescription' }), generateFrequencyOptions(): any { const optionDefault = [{ diff --git a/src/store/modules/job/actions.ts b/src/store/modules/job/actions.ts index ab2a15bd..86200241 100644 --- a/src/store/modules/job/actions.ts +++ b/src/store/modules/job/actions.ts @@ -646,8 +646,7 @@ const actions: ActionTree = { "jobId": payload?.jobId } as any, "viewSize": 1, - "fieldList": ["systemJobEnumId", "runTime", "tempExprId", "parentJobId", "serviceName", "jobId", "jobName", "currentRetryCount", "statusId"], - "entityName": "JobSandbox", + "fieldList": ["systemJobEnumId", "runTime", "tempExprId", "parentJobId", "serviceName", "jobId", "jobName", "currentRetryCount", "statusId", "description"], "noConditionFind": "Y" } resp = await JobService.fetchJobInformation(params); From afb8cfdc4473fd933afdbad63326e3e913bdd978 Mon Sep 17 00:00:00 2001 From: shashwatbangar Date: Mon, 1 Aug 2022 17:39:37 +0530 Subject: [PATCH 3/3] Fixed: Indentation in JobConfig view(#364trwn) --- src/components/JobConfiguration.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/JobConfiguration.vue b/src/components/JobConfiguration.vue index b8f54d19..c38eeb53 100644 --- a/src/components/JobConfiguration.vue +++ b/src/components/JobConfiguration.vue @@ -9,7 +9,7 @@ -

{{ currentJob.description }}

+

{{ currentJob.description }}