diff --git a/app/settings/tokens/edit/controller.ts b/app/settings/tokens/edit/controller.ts index 2027d341f1e..e798323757c 100644 --- a/app/settings/tokens/edit/controller.ts +++ b/app/settings/tokens/edit/controller.ts @@ -23,9 +23,7 @@ export default class SettingsTokensEditController extends Controller { @action refresh() { this.clearTokenValue(); - - // Send action to route - this.send('refreshRoute'); + this.router.transitionTo('settings.tokens'); } clearTokenValue() { diff --git a/app/settings/tokens/edit/template.hbs b/app/settings/tokens/edit/template.hbs index d85971d44de..4d2fdea5921 100644 --- a/app/settings/tokens/edit/template.hbs +++ b/app/settings/tokens/edit/template.hbs @@ -34,7 +34,7 @@ {{else}}

{{t 'settings.tokens.editToken'}}

diff --git a/translations/en-us.yml b/translations/en-us.yml index 99c02c3ec78..4e79e5eae90 100644 --- a/translations/en-us.yml +++ b/translations/en-us.yml @@ -2627,7 +2627,7 @@ settings: message: 'Token {tokenName} created:' instructions: 'This token will never expire. This token should never be shared with others. If it is accidentally revealed publicly, it should be deactivated immediately.' warning: 'This is the only time your token will be displayed.' - editScopes: 'Edit scopes' + close: 'Close' verifyEmail: merge: header: 'Merge account?'