Skip to content

Commit 61a4639

Browse files
committed
quick fix
1 parent a6d7a7f commit 61a4639

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

OpenFlow/src/Messages/Message.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1693,7 +1693,7 @@ export class Message {
16931693
var billing: Billing;
16941694
if (billings.length == 0) {
16951695
var tax_rates = await this.Stripe<stripe_list<stripe_base>>("GET", "tax_rates", null, null, null);
1696-
if (tax_rates == null || tax_rates.total_count == 0) throw new Error("Failed getting tax_rates from stripe");
1696+
if (tax_rates == null || tax_rates.data.length == 0) throw new Error("Failed getting tax_rates from stripe");
16971697

16981698
billing = Billing.assign(msg.billing);
16991699
billing.taxrate = tax_rates.data[0].id;

OpenFlow/src/public/Payment.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -413,7 +413,7 @@
413413
<div ng-show="ctrl.cardmessage != ''"" class=" alert alert-danger" role="alert">{{ctrl.cardmessage}}</div>
414414
<div ng-show="ctrl.errormessage != ''"" class=" alert alert-danger" role="alert">{{ctrl.errormessage}}</div>
415415
<pre ng-show="ctrl.messages!=''" class=" alert alert-primary" role="alert">{{ ctrl.messages }}</pre>
416-
<h3 ng-show="ctrl.allowopenflowsignup">OpenFlow User w/NodeRed with a SLA</h3>
416+
<h3 ng-show="ctrl.allowopenflowsignup && ctrl.openflowplans.length > 0">OpenFlow User w/NodeRed with a SLA</h3>
417417
<div class="row" ng-hide="ctrl.loading==true">
418418
<div ng-show="ctrl.allowopenflowsignup" ng-repeat="model in ctrl.openflowplans">
419419
<div class="card" style="width: 18rem;height: 332px;">

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.0.553
1+
0.0.554

0 commit comments

Comments
 (0)