From 6b23647bec67a3f3dc13c0a7cb105cde8195bf54 Mon Sep 17 00:00:00 2001 From: Knut Sveidqvist Date: Thu, 14 Nov 2024 15:07:46 +0100 Subject: [PATCH] #6058 Casting task-id and assigned fields to string after yaml parsing --- packages/mermaid/src/diagrams/kanban/kanbanDb.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/mermaid/src/diagrams/kanban/kanbanDb.ts b/packages/mermaid/src/diagrams/kanban/kanbanDb.ts index 478c37803..a9bcbb7b8 100644 --- a/packages/mermaid/src/diagrams/kanban/kanbanDb.ts +++ b/packages/mermaid/src/diagrams/kanban/kanbanDb.ts @@ -138,13 +138,13 @@ const addNode = (level: number, id: string, descr: string, type: number, shapeDa node.label = doc?.label; } if (doc?.icon) { - node.icon = doc?.icon; + node.icon = doc?.icon.toString(); } if (doc?.assigned) { - node.assigned = doc?.assigned; + node.assigned = doc?.assigned.toString(); } if (doc?.ticket) { - node.ticket = doc?.ticket; + node.ticket = doc?.ticket.toString(); } if (doc?.priority) {