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.
1 parent 8725950 commit ee3a742Copy full SHA for ee3a742
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