Fix backward compat for highlighting
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user