From 759f3aeced4d503ca50ddada2b863bbe0deae488 Mon Sep 17 00:00:00 2001 From: ShiKhu Date: Fri, 24 Sep 2021 00:48:45 +0200 Subject: [PATCH] fix(frontend): silence node counter (temp) --- .../player/MessageDistributor/managers/WindowNodeCounter.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/frontend/app/player/MessageDistributor/managers/WindowNodeCounter.js b/frontend/app/player/MessageDistributor/managers/WindowNodeCounter.js index d3e0fd394..245ac9084 100644 --- a/frontend/app/player/MessageDistributor/managers/WindowNodeCounter.js +++ b/frontend/app/player/MessageDistributor/managers/WindowNodeCounter.js @@ -57,11 +57,12 @@ export default class WindowNodeCounter { addNode(id: number, parentID: number) { if (!this._nodes[ parentID ]) { - console.error(`Wrong! Node with id ${ parentID } (parentId) not found.`); + //TODO: iframe case + //console.error(`Wrong! Node with id ${ parentID } (parentId) not found.`); return; } if (!!this._nodes[ id ]) { - console.error(`Wrong! Node with id ${ id } already exists.`); + //console.error(`Wrong! Node with id ${ id } already exists.`); return; } this._nodes[id] = this._nodes[ parentID ].newChild();