From 2bb5fe591baf95610f7dca10ee6e86237f5d5142 Mon Sep 17 00:00:00 2001 From: Ian Gulliver Date: Mon, 15 Jul 2019 01:31:44 +0000 Subject: [PATCH] Fix backward compat for highlighting --- Architype.js | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Architype.js b/Architype.js index 9fd49cf..a468e28 100644 --- a/Architype.js +++ b/Architype.js @@ -136,11 +136,17 @@ class Architype { if ((item.type == 'link' || item.type == 'group') && item.label != null && item.labelObj == undefined) { - console.log('backwards compat 3bdb240', item); + console.log('backward compat 3bdb240', item); item.labelObj = { highlight: false, }; } + + // highlight + if (item.highlight == undefined) { + console.log('backward compat highlight', item); + item.highlight = false; + } } }