fixed disabled switch for respondent notifications bug

This commit is contained in:
David Baldwynn 2017-11-19 21:34:19 -08:00
parent 66409c15d8
commit f897b39549

View file

@ -20,10 +20,9 @@
<input bs-switch class="toggle-switch notification-toggle" type="checkbox"
switch-size="small"
ng-model="myform.respondentNotifications.enabled"
ng-if="myform.respondentNotifications"
switch-on-text="{{ 'ON' | translate }}"
switch-off-text="{{ 'OFF' | translate }}"
switch-active="!formHasEmailField"
switch-active="{{formHasEmailField}}"
ng-true-value="true"
ng-false-value="false">
</div>