mirror of
https://bitbucket.org/wisemapping/wisemapping-frontend.git
synced 2024-11-22 14:47:56 +01:00
Fix legacy loading ...
This commit is contained in:
parent
885c876d53
commit
fb90c876e4
@ -216,8 +216,10 @@ class XMLSerializerBeta implements XMLMindmapSerializer {
|
|||||||
topic.setOrder(parseInt(order, 10));
|
topic.setOrder(parseInt(order, 10));
|
||||||
}
|
}
|
||||||
|
|
||||||
const shape = domElem.getAttribute('shape');
|
let shape = domElem.getAttribute('shape');
|
||||||
if ($defined(shape)) {
|
if ($defined(shape)) {
|
||||||
|
// Hack for legacy mapping loading ...
|
||||||
|
shape = shape === 'rectagle' ? 'rectangle' : shape;
|
||||||
topic.setShapeType(shape);
|
topic.setShapeType(shape);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user