ensure @Input bindings are not undefined before executing trigger logic

This commit is contained in:
alecmerdler 2017-05-26 11:50:11 -07:00
parent 4750d1c5ef
commit d5e35156e0
6 changed files with 64 additions and 53 deletions

View file

@ -38,7 +38,7 @@
</div> <!-- /state = activated -->
<!-- state = managing or activating -->
<div ng-if="state == 'managing' || state == 'activating'"
<div ng-if="(state == 'managing' || state == 'activating') && trigger"
ng-class="{'activating': state == 'activating'}">
<manage-trigger githost="trigger.service"
trigger="trigger"