Skip to content

Commit

Permalink
linting issues fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mrsaicharan1 committed Aug 14, 2019
1 parent 994257d commit 9e5259d
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 5 deletions.
8 changes: 4 additions & 4 deletions app/components/paypal-button.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ export default Component.extend({
};

paypal.Button.render({
env: 'sandbox',
commit: true,
env : 'sandbox',
commit : true,

style: {
label : 'pay',
Expand Down Expand Up @@ -79,8 +79,8 @@ export default Component.extend({
}
};
paypal.Button.render({
env: 'sandbox',
commit: true,
env : 'sandbox',
commit : true,

style: {
label : 'pay',
Expand Down
8 changes: 7 additions & 1 deletion app/routes/event-invoice/review.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,13 @@ export default class extends Route {
include : 'event',
reload : true
})
};
};
}

afterModel(model) {
if (model.data.status === 'paid') {
this.transitionTo('event-invoice.paid', model.data.identifier);
}
}

}

0 comments on commit 9e5259d

Please sign in to comment.