diff --git a/packages/compass-aggregations/src/components/settings/settings.jsx b/packages/compass-aggregations/src/components/settings/settings.jsx index 82c907f9e51..0e6a3b1d3db 100644 --- a/packages/compass-aggregations/src/components/settings/settings.jsx +++ b/packages/compass-aggregations/src/components/settings/settings.jsx @@ -79,8 +79,17 @@ class Settings extends PureComponent {
- Limits input documents before $group, $bucket, and $bucketAuto - stages. Set a limit to make the collection run faster. + {global?.process?.env?.COMPASS_SHOW_NEW_AGGREGATION_TOOLBAR !== + 'true' ? ( + 'Limits input documents before $group, $bucket, and $bucketAuto stages. Set a limit to make the collection run faster.' + ) : ( + <> + Limits input documents before $group, $bucket, and $bucketAuto + stages. Set a limit to make the preview run faster. +
+ Note: this setting is only applied for the document previews, it is not applied when the pipeline is run. + + )}