Skip to content

Commit 55d219d

Browse files
update initial state
1 parent fa480a3 commit 55d219d

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

packages/compass-aggregations/src/components/stage-toolbar/stage-operator-select.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ import { isAtlasOnly } from '../../utils/stage';
2222
import type { ServerEnvironment } from '../../modules/env';
2323
import type { CollectionStats } from '../../modules/collection-stats';
2424

25-
const inputWidth = spacing[1400] * 5;
25+
const inputWidth = spacing[1400] * 3;
2626
// width of options popover
2727
const comboxboxOptionsWidth = spacing[1200] * 10;
2828
// left position of options popover wrt input. this aligns it with the start of input

packages/compass-aggregations/src/modules/collection-stats.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ export type CollectionStats = {
99

1010
export const INITIAL_STATE: CollectionStats = {
1111
document_count: undefined,
12+
pipeline: undefined,
1213
};
1314

1415
export function pickCollectionStats(collection: Collection): CollectionStats {

0 commit comments

Comments
 (0)