From 07948b1de26a8d810023180cebca05be724de408 Mon Sep 17 00:00:00 2001 From: "Bruno P. Kinoshita" Date: Thu, 17 Mar 2022 23:43:35 +1300 Subject: [PATCH 1/2] Remove duplicate types --- src/store/services.ts | 2 +- src/store/workflows.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/store/services.ts b/src/store/services.ts index 26e2c0b..15026fc 100644 --- a/src/store/services.ts +++ b/src/store/services.ts @@ -187,7 +187,7 @@ export const mutations: MutationTree = { state, payload: { key: keyof Service - value: boolean | string | ServiceInfo | ServiceState | string | string[] + value: boolean | string | ServiceInfo | ServiceState | string[] serviceId: string } ) { diff --git a/src/store/workflows.ts b/src/store/workflows.ts index 4d98fda..a4a9eec 100644 --- a/src/store/workflows.ts +++ b/src/store/workflows.ts @@ -128,7 +128,7 @@ export const mutations: MutationTree = { state, payload: { key: keyof Workflow - value: AttachedFile[] | boolean | string | string | string[] + value: AttachedFile[] | boolean | string | string[] workflowId: string } ) { From 7bcfdd0608e37f0c639a4b960a901c02fe8acc38 Mon Sep 17 00:00:00 2001 From: "Bruno P. Kinoshita" Date: Thu, 17 Mar 2022 23:45:49 +1300 Subject: [PATCH 2/2] Use !== --- src/components/services/WorkflowTrsImportDialog.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/services/WorkflowTrsImportDialog.vue b/src/components/services/WorkflowTrsImportDialog.vue index 48f06f4..9fbc7f6 100644 --- a/src/components/services/WorkflowTrsImportDialog.vue +++ b/src/components/services/WorkflowTrsImportDialog.vue @@ -28,7 +28,7 @@ :key="item.name" :class="{ 'text-capitalize': true, - 'mr-2': index != defaultEndpoints.length - 1, + 'mr-2': index !== defaultEndpoints.length - 1, }" outlined width="110"