Merge branch 'v15/dev' into v15/feature/emm-workspace-extensions
This commit is contained in:
@@ -48,7 +48,7 @@ function contextItemData(contextInstance: any): UmbDebugContextItemData {
|
||||
|
||||
case 'object':
|
||||
// Check if the object is an observable (by checking if it has a subscribe method/function)
|
||||
const isSubscribeLike = 'subscribe' in value && typeof value['subscribe'] === 'function';
|
||||
const isSubscribeLike = value && 'subscribe' in value && typeof value['subscribe'] === 'function';
|
||||
const isWebComponent = value instanceof HTMLElement;
|
||||
|
||||
let valueToDisplay = 'Complex Object';
|
||||
|
||||
Reference in New Issue
Block a user