Skip to content

Commit 8ee8433

Browse files
committed
#399 Fix aggregation field selection
1 parent 1d10ac7 commit 8ee8433

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ui/app/views/directives/dashboard/multiline/series.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
</div>
3131
<div class="form-group">
3232
<select class="form-control" ng-model="serie.field" ng-disabled="serie.agg === 'count'"
33-
ng-options="item.name as item.name for (key, item) in fieldsForAggregation(metadata[component.options.entity].attributes, serie.agg)">
33+
ng-options="item.name as item.name for (key, item) in fieldsForAggregation(metadata[serie.entity].attributes, serie.agg)">
3434
<option value="" disabled selected>-- Select field --</option>
3535
</select>
3636
</div>
@@ -51,7 +51,7 @@
5151
</span>
5252
</div>
5353
</div>
54-
<div class="ml-m mt-xs">
54+
<div class="ml-m mt-xs">
5555
<ng-include src="'views/directives/dashboard/multiline/serie.filters.html'"></ng-include>
5656
</div>
5757
</div>

0 commit comments

Comments
 (0)