add hasClick to platformInfo and use it to determine whether to show the slide to pay component or not
This commit is contained in:
parent
b9ba2af993
commit
a1c73b7148
4 changed files with 20 additions and 3 deletions
|
|
@ -59,10 +59,10 @@
|
|||
<i ng-show="!description" class="icon ion-ios-plus-empty size-21"></i>
|
||||
</div>
|
||||
</div>
|
||||
<button class="button button-block button-positive" ng-click="approve()" ng-if="!isCordova" translate>Click to pay</button>
|
||||
<button class="button button-block button-positive" ng-click="approve()" ng-if="hasClick" translate>Click to pay</button>
|
||||
</ion-content>
|
||||
<slide-to-accept
|
||||
ng-if="isCordova || true"
|
||||
ng-if="!hasClick"
|
||||
slide-on-confirm="onConfirm()"
|
||||
slide-send-status="sendStatus">
|
||||
Slide to pay
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue