Order keys consistently for enhanced readability

This commit is contained in:
Michael Lange
2017-10-16 13:07:18 -07:00
parent 39d704b0d9
commit e799c6e2f0

View File

@@ -5,11 +5,11 @@ const { Controller, inject, computed, getOwner } = Ember;
export default Controller.extend({
token: inject.service(),
tokenRecord: null,
secret: computed.reads('token.secret'),
tokenIsValid: false,
tokenIsInvalid: false,
tokenRecord: null,
actions: {
clearTokenProperties() {
@@ -41,8 +41,8 @@ export default Controller.extend({
() => {
this.set('token.secret', null);
this.setProperties({
tokenIsInvalid: true,
tokenIsValid: false,
tokenIsInvalid: true,
tokenRecord: null,
});
}