mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-08-30 13:46:43 +02:00
Fix for viewport in classDiagram and stateDiagram renndering
This commit is contained in:
@@ -74,7 +74,7 @@ export const addMember = function(className, member) {
|
||||
theClass.annotations.push(memberString.substring(2, memberString.length - 2));
|
||||
} else if (memberString.endsWith(')')) {
|
||||
theClass.methods.push(memberString);
|
||||
} else {
|
||||
} else if (memberString) {
|
||||
theClass.members.push(memberString);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user