diff --git a/ui/desktop/app/styles/app.scss b/ui/desktop/app/styles/app.scss index 2d5758152..858980f47 100644 --- a/ui/desktop/app/styles/app.scss +++ b/ui/desktop/app/styles/app.scss @@ -489,7 +489,9 @@ $chevron-down: url("data:image/svg+xml;utf-8, - {{t (concat 'resources.auth-method.types.' authMethod.type)}} + {{#if authMethod.name}} + {{authMethod.name}} + {{else}} + {{t (concat 'resources.auth-method.types.' authMethod.type)}} + {{/if}} {{/each}} {{else}} @@ -43,7 +47,11 @@ @route='scopes.scope.authenticate.method' @model={{authMethod.id}} > - {{t (concat 'resources.auth-method.types.' authMethod.type)}} + {{#if authMethod.name}} + {{authMethod.name}} + {{else}} + {{t (concat 'resources.auth-method.types.' authMethod.type)}} + {{/if}} {{/unless}} {{/each}} diff --git a/ui/desktop/electron-app/src/index.js b/ui/desktop/electron-app/src/index.js index 619b7172e..35540da6b 100644 --- a/ui/desktop/electron-app/src/index.js +++ b/ui/desktop/electron-app/src/index.js @@ -86,9 +86,7 @@ const createWindow = (partition, closeWindowCB) => { // If the user-specified origin changes, reload the page so that // the CSP can be refreshed with the this source allowed - runtimeSettings.onOriginChange(() => - browserWindow.loadURL(emberAppURL) - ); + runtimeSettings.onOriginChange(() => browserWindow.loadURL(emberAppURL)); // Load the ember application browserWindow.loadURL(emberAppURL);