Skip to content

Commit 1ed4fbe

Browse files
committed
fix negateContext() to preserve nested contexts
1 parent 7409283 commit 1ed4fbe

File tree

1 file changed

+1
-0
lines changed
  • frontend/packages/@depmap/data-explorer-2/src/utils

1 file changed

+1
-0
lines changed

frontend/packages/@depmap/data-explorer-2/src/utils/context.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -260,6 +260,7 @@ export function negateContext(
260260
dimension_type: context.dimension_type,
261261
expr,
262262
vars: context.vars,
263+
...(context.contexts ? { contexts: context.contexts } : null),
263264
};
264265
}
265266

0 commit comments

Comments
 (0)