Fix backward compat for highlighting

This commit is contained in:
Ian Gulliver
2019-07-15 01:31:44 +00:00
parent 968a53c34e
commit 2bb5fe591b

View File

@@ -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;
}
}
}