Commit e799c6e2 authored by Michael Lange's avatar Michael Lange
Browse files

Order keys consistently for enhanced readability

parent 39d704b0
Showing with 2 additions and 2 deletions
+2 -2
...@@ -5,11 +5,11 @@ const { Controller, inject, computed, getOwner } = Ember; ...@@ -5,11 +5,11 @@ const { Controller, inject, computed, getOwner } = Ember;
export default Controller.extend({ export default Controller.extend({
token: inject.service(), token: inject.service(),
tokenRecord: null,
secret: computed.reads('token.secret'), secret: computed.reads('token.secret'),
tokenIsValid: false, tokenIsValid: false,
tokenIsInvalid: false, tokenIsInvalid: false,
tokenRecord: null,
actions: { actions: {
clearTokenProperties() { clearTokenProperties() {
...@@ -41,8 +41,8 @@ export default Controller.extend({ ...@@ -41,8 +41,8 @@ export default Controller.extend({
() => { () => {
this.set('token.secret', null); this.set('token.secret', null);
this.setProperties({ this.setProperties({
tokenIsInvalid: true,
tokenIsValid: false, tokenIsValid: false,
tokenIsInvalid: true,
tokenRecord: null, tokenRecord: null,
}); });
} }
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment