Remove icon deserialization for beta maps.

This commit is contained in:
Paulo Gustavo Veiga 2023-01-02 21:25:12 -08:00
parent 3e9d088a01
commit 55bc86b4ff

View File

@ -284,9 +284,6 @@ class XMLSerializerBeta implements XMLMindmapSerializer {
if (child.tagName === 'topic') {
const childTopic = this._deserializeNode(child, mindmap);
childTopic.connectTo(topic);
} else if (child.tagName === 'icon') {
const icon = this._deserializeIcon(child);
topic.addFeature(icon);
} else if (child.tagName === 'link') {
const link = this._deserializeLink(child);
topic.addFeature(link);