Skip to content

Commit

Permalink
#399 Fix aggregation field selection
Browse files Browse the repository at this point in the history
  • Loading branch information
nadouani committed Dec 15, 2017
1 parent 1d10ac7 commit 8ee8433
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ui/app/views/directives/dashboard/multiline/series.html
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
</div>
<div class="form-group">
<select class="form-control" ng-model="serie.field" ng-disabled="serie.agg === 'count'"
ng-options="item.name as item.name for (key, item) in fieldsForAggregation(metadata[component.options.entity].attributes, serie.agg)">
ng-options="item.name as item.name for (key, item) in fieldsForAggregation(metadata[serie.entity].attributes, serie.agg)">
<option value="" disabled selected>-- Select field --</option>
</select>
</div>
Expand All @@ -51,7 +51,7 @@
</span>
</div>
</div>
<div class="ml-m mt-xs">
<div class="ml-m mt-xs">
<ng-include src="'views/directives/dashboard/multiline/serie.filters.html'"></ng-include>
</div>
</div>
Expand Down

0 comments on commit 8ee8433

Please sign in to comment.