mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-01-28 07:03:17 +08:00
#6058 Casting task-id and assigned fields to string after yaml parsing
This commit is contained in:
parent
c8ce416aba
commit
6b23647bec
@ -138,13 +138,13 @@ const addNode = (level: number, id: string, descr: string, type: number, shapeDa
|
|||||||
node.label = doc?.label;
|
node.label = doc?.label;
|
||||||
}
|
}
|
||||||
if (doc?.icon) {
|
if (doc?.icon) {
|
||||||
node.icon = doc?.icon;
|
node.icon = doc?.icon.toString();
|
||||||
}
|
}
|
||||||
if (doc?.assigned) {
|
if (doc?.assigned) {
|
||||||
node.assigned = doc?.assigned;
|
node.assigned = doc?.assigned.toString();
|
||||||
}
|
}
|
||||||
if (doc?.ticket) {
|
if (doc?.ticket) {
|
||||||
node.ticket = doc?.ticket;
|
node.ticket = doc?.ticket.toString();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (doc?.priority) {
|
if (doc?.priority) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user