Fixed lint

no issue
This commit is contained in:
Rish 2019-10-07 09:17:26 +05:30
parent 0d57cfb4f2
commit a85129abc8
2 changed files with 2 additions and 3 deletions

View File

@ -30,12 +30,12 @@ export default Component.extend({
startDate: '',
planName: subscription.name,
validUntil: moment(subscription.validUntil * 1000).format('MMM DD YYYY')
}
};
}).reverse();
}
return null;
}),
hasMultipleSubscriptions: computed('member.stripe', function() {
hasMultipleSubscriptions: computed('member.stripe', function () {
let subscriptions = this.member.get('stripe');
if (subscriptions && subscriptions.length > 1) {
return true;

View File

@ -3,7 +3,6 @@ import $ from 'jquery';
import Controller from '@ember/controller';
import RSVP from 'rsvp';
import config from 'ghost-admin/config/environment';
import isNumber from 'ghost-admin/utils/isNumber';
import {
UnsupportedMediaTypeError,
isRequestEntityTooLargeError,