mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-10-30 18:34:09 +01:00
Merge branch 'develop' into feature/4706_allow_notes_in_namespace
This commit is contained in:
5
.changeset/eleven-rocks-leave.md
Normal file
5
.changeset/eleven-rocks-leave.md
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
'mermaid': patch
|
||||||
|
---
|
||||||
|
|
||||||
|
fix: Kanban diagrams will not render when adding a number as ticket id or assigned for a task
|
||||||
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user