Fix for viewport in classDiagram and stateDiagram renndering

This commit is contained in:
Ashish Jain
2019-10-09 21:15:17 +02:00
parent 54e6e2f66e
commit f8f52c4587
5 changed files with 14 additions and 9 deletions

View File

@@ -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);
}
}