We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7428ddc + a95086b commit fd2ce5fCopy full SHA for fd2ce5f
src/libs/context-api/debug/context-data.function.ts
@@ -48,7 +48,7 @@ function contextItemData(contextInstance: any): UmbDebugContextItemData {
48
49
case 'object':
50
// Check if the object is an observable (by checking if it has a subscribe method/function)
51
- const isSubscribeLike = 'subscribe' in value && typeof value['subscribe'] === 'function';
+ const isSubscribeLike = value && 'subscribe' in value && typeof value['subscribe'] === 'function';
52
const isWebComponent = value instanceof HTMLElement;
53
54
let valueToDisplay = 'Complex Object';
0 commit comments