Skip to content

Commit

Permalink
fixed ng-model in rule editor
Browse files Browse the repository at this point in the history
  • Loading branch information
Timothy Morris committed Apr 13, 2017
1 parent 33ad76b commit 9463dce
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/pages/categories/view.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@
<input type="number" ng-model="rule.threshold" value="{{rule.threshold}}">
</div>
<div class="col s4">
<select>
<option ng-repeat="unit in units" value="{{unit}}" ng-selected="rule.units == unit" ng-model="rule.units">{{unit}}</option>
<select ng-model="rule.units">
<option ng-repeat="unit in units" value="{{unit}}" ng-selected="rule.units == unit">{{unit}}</option>
</select>
</div>
</div>
Expand Down

0 comments on commit 9463dce

Please sign in to comment.