From 55bc86b4ffef868aab662f70abe8b2c8fcfe41d4 Mon Sep 17 00:00:00 2001 From: Paulo Gustavo Veiga Date: Mon, 2 Jan 2023 21:25:12 -0800 Subject: [PATCH] Remove icon deserialization for beta maps. --- .../mindplot/src/components/persistence/XMLSerializerBeta.ts | 3 --- 1 file changed, 3 deletions(-) diff --git a/packages/mindplot/src/components/persistence/XMLSerializerBeta.ts b/packages/mindplot/src/components/persistence/XMLSerializerBeta.ts index b8bdd9fa..e597946f 100644 --- a/packages/mindplot/src/components/persistence/XMLSerializerBeta.ts +++ b/packages/mindplot/src/components/persistence/XMLSerializerBeta.ts @@ -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);