From 40fd7e3ee0daa6bfa7b0f74ad76cfa301fe3071e Mon Sep 17 00:00:00 2001 From: Ahmed Awan Date: Tue, 27 Aug 2024 09:00:47 -0500 Subject: [PATCH] remove messages type from `WorkflowInvocationOverview` Co-authored-by: mvdbeek --- .../WorkflowInvocationState/WorkflowInvocationOverview.vue | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/client/src/components/WorkflowInvocationState/WorkflowInvocationOverview.vue b/client/src/components/WorkflowInvocationState/WorkflowInvocationOverview.vue index 068c9f0b819b..3338b4d7b6d0 100644 --- a/client/src/components/WorkflowInvocationState/WorkflowInvocationOverview.vue +++ b/client/src/components/WorkflowInvocationState/WorkflowInvocationOverview.vue @@ -7,7 +7,6 @@ import { getRootFromIndexLink } from "@/onload"; import { type Workflow } from "@/stores/workflowStore"; import { withPrefix } from "@/utils/redirect"; -import { type InvocationMessageResponseModel } from "./invocationMessageModel"; import { errorCount as jobStatesSummaryErrorCount, jobCount as jobStatesSummaryJobCount, @@ -111,7 +110,7 @@ const invocationPdfLink = computed(() => { const uniqueMessages = computed(() => { const messages = props.invocation?.messages || []; const uniqueMessagesSet = new Set(messages.map((message) => JSON.stringify(message))); - return Array.from(uniqueMessagesSet).map((message) => JSON.parse(message)) as InvocationMessageResponseModel[]; + return Array.from(uniqueMessagesSet).map((message) => JSON.parse(message)) as typeof messages; }); const stepStatesStr = computed(() => {