Use the correct model attribute for appId in feedback form

This commit is contained in:
Johannes Zellner
2018-03-05 17:10:00 +01:00
parent 2b6ce4f813
commit 5910709008

View File

@@ -39,7 +39,7 @@
</select>
</div>
<div class="form-group" ng-show="feedback.type === 'app_error'">
<select class="form-control" name="type" style="width: 50%;" ng-model="feedback.app" ng-required="feedback.type === 'app_error'">
<select class="form-control" name="type" style="width: 50%;" ng-model="feedback.appId" ng-required="feedback.type === 'app_error'">
<option value="" disabled selected>Select App</option>
<option ng-repeat="app in apps" value="{{ app.id }}">{{ app.fqdn }}</option>
</select>