Merge branch 'v15/dev' into v15/feature/emm-workspace-extensions

This commit is contained in:
Niels Lyngsø
2024-09-14 21:02:33 +02:00

View File

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