diff --git a/app/assets/javascripts/discourse/controllers/preferences/account.js.es6 b/app/assets/javascripts/discourse/controllers/preferences/account.js.es6 index ca6947f0eb8..6a7df6986c1 100644 --- a/app/assets/javascripts/discourse/controllers/preferences/account.js.es6 +++ b/app/assets/javascripts/discourse/controllers/preferences/account.js.es6 @@ -107,7 +107,12 @@ export default Ember.Controller.extend( @computed("showAllAuthTokens", "model.user_auth_tokens") authTokens(showAllAuthTokens, tokens) { tokens.sort( - (a, b) => (a.is_active ? -1 : b.is_active ? 1 : b.seen_at.localeCompare(a.seen_at)) + (a, b) => + a.is_active + ? -1 + : b.is_active + ? 1 + : b.seen_at.localeCompare(a.seen_at) ); return showAllAuthTokens