mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-11-05 13:24:11 +01:00
Merge branch 'develop' into UpdateClassMemberHandling
This commit is contained in:
@@ -450,9 +450,8 @@ const getNamespaces = function (): NamespaceMap {
|
||||
export const addClassesToNamespace = function (id: string, classNames: string[]) {
|
||||
if (namespaces[id] !== undefined) {
|
||||
classNames.map((className) => {
|
||||
classes[className].parent = id;
|
||||
namespaces[id].classes[className] = classes[className];
|
||||
delete classes[className];
|
||||
classCounter--;
|
||||
});
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user