fix: JSON deserialization fails (bug #6091) (collapsed procedure call… (#6103)

* fix: JSON deserialization fails (bug #6091) (collapsed procedure call blocks)

* fix: JSON deserialization fails (bug #6091) changed fix, added tests (collapsed procedure call blocks)
This commit is contained in:
Tobias Weinert
2022-04-27 17:00:47 +02:00
committed by Beka Westberg
parent 4de439b64e
commit a3a9dcf366
3 changed files with 46 additions and 7 deletions

View File

@@ -611,8 +611,8 @@ const initBlock = function(block, rendered) {
// operation to decrease load time.
block.setConnectionTracking(false);
blockSvg.initSvg();
blockSvg.render(false);
block.initSvg();
block.render(false);
// fixes #6076 JSO deserialization doesn't
// set .iconXY_ property so here it will be set
const icons = block.getIcons();