Skip to content

Commit

Permalink
[MNOE-1263] Updated safe navigation operator
Browse files Browse the repository at this point in the history
  • Loading branch information
RidaAhmad committed Jul 24, 2018
1 parent 49de4f2 commit 87621f9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ angular.module 'mnoEnterpriseAngular'
# Are there any available plans
availablePlans = ProvisioningHelper.plansForCurrency(vm.product.pricing_plans, vm.orgCurrency)

vm.orderPossible = !_.isEmpty(availablePlans) || (vm.product.pricing_plans&[0].default&[0] && currencySelection)
vm.orderPossible = !_.isEmpty(availablePlans) || (vm.product.pricing_plans?[0].default?[0] && currencySelection)
vm.buttonDisabledTooltip = vm.updateButtonDisabledTooltip()

$state.go(vm.parentState) unless vm.product?
Expand Down

0 comments on commit 87621f9

Please sign in to comment.