Merge pull request #2900 from jimmyjones2/sub_agg
Metric aggs are never sub-aggs
This commit is contained in:
commit
1e4187156f
|
@ -1,6 +1,6 @@
|
|||
<div class="form-group">
|
||||
<label ng-if="$index < 1">Aggregation</label>
|
||||
<label ng-if="$index >= 1">Sub Aggregation</label>
|
||||
<label ng-if="$index < 1 || groupName !== 'buckets'">Aggregation</label>
|
||||
<label ng-if="$index >= 1 && groupName === 'buckets'">Sub Aggregation</label>
|
||||
<select
|
||||
name="agg"
|
||||
class="form-control"
|
||||
|
@ -8,4 +8,4 @@
|
|||
required
|
||||
ng-options="agg as agg.title for agg in aggTypeOptions | aggFilter:agg.schema.aggFilter">
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue