diff --git a/src/plus/webviews/graph/graphWebview.ts b/src/plus/webviews/graph/graphWebview.ts index 5b09035..c80c3e0 100644 --- a/src/plus/webviews/graph/graphWebview.ts +++ b/src/plus/webviews/graph/graphWebview.ts @@ -1610,9 +1610,9 @@ export class GraphWebview extends WebviewBase { context: { header: this.getColumnHeaderContext(columns), }, - excludeRefs: data != null ? this.getExcludedRefs(data) : undefined, - excludeTypes: this.getExcludedTypes(data), - includeOnlyRefs: data != null ? this.getIncludeOnlyRefs(data) : undefined, + excludeRefs: data != null ? this.getExcludedRefs(data) ?? {} : {}, + excludeTypes: this.getExcludedTypes(data) ?? {}, + includeOnlyRefs: data != null ? this.getIncludeOnlyRefs(data) ?? {} : {}, nonce: this.cspNonce, workingTreeStats: getSettledValue(workingStatsResult) ?? { added: 0, deleted: 0, modified: 0 }, debugging: this.container.debugging,