Change default icon for the Log in with Elasticsearch login selector button. (#65282)

This commit is contained in:
Aleh Zasypkin 2020-05-05 19:35:51 +02:00 committed by GitHub
parent 23282a2f37
commit af8f9fa05f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 12 additions and 12 deletions

View file

@ -407,7 +407,7 @@ describe('config schema', () => {
"basic1": Object {
"description": "Log in with Elasticsearch",
"enabled": true,
"icon": "logoElastic",
"icon": "logoElasticsearch",
"order": 0,
"showInSelector": true,
},
@ -467,7 +467,7 @@ describe('config schema', () => {
"token1": Object {
"description": "Log in with Elasticsearch",
"enabled": true,
"icon": "logoElastic",
"icon": "logoElasticsearch",
"order": 0,
"showInSelector": true,
},
@ -746,14 +746,14 @@ describe('config schema', () => {
"basic1": Object {
"description": "Log in with Elasticsearch",
"enabled": true,
"icon": "logoElastic",
"icon": "logoElasticsearch",
"order": 0,
"showInSelector": true,
},
"basic2": Object {
"description": "Log in with Elasticsearch",
"enabled": false,
"icon": "logoElastic",
"icon": "logoElasticsearch",
"order": 1,
"showInSelector": true,
},

View file

@ -62,7 +62,7 @@ const providersConfigSchema = schema.object(
defaultMessage: 'Log in with Elasticsearch',
}),
}),
icon: schema.string({ defaultValue: 'logoElastic' }),
icon: schema.string({ defaultValue: 'logoElasticsearch' }),
showInSelector: schema.boolean({
defaultValue: true,
validate: value => {
@ -78,7 +78,7 @@ const providersConfigSchema = schema.object(
defaultMessage: 'Log in with Elasticsearch',
}),
}),
icon: schema.string({ defaultValue: 'logoElastic' }),
icon: schema.string({ defaultValue: 'logoElasticsearch' }),
showInSelector: schema.boolean({
defaultValue: true,
validate: value => {

View file

@ -252,7 +252,7 @@ describe('Login view routes', () => {
name: 'basic1',
type: 'basic',
usesLoginForm: true,
icon: 'logoElastic',
icon: 'logoElasticsearch',
description: 'Log in with Elasticsearch',
},
],
@ -264,7 +264,7 @@ describe('Login view routes', () => {
name: 'token1',
type: 'token',
usesLoginForm: true,
icon: 'logoElastic',
icon: 'logoElasticsearch',
description: 'Log in with Elasticsearch',
},
],
@ -309,7 +309,7 @@ describe('Login view routes', () => {
name: 'basic1',
type: 'basic',
usesLoginForm: true,
icon: 'logoElastic',
icon: 'logoElasticsearch',
description: 'Log in with Elasticsearch',
},
],
@ -325,7 +325,7 @@ describe('Login view routes', () => {
name: 'basic1',
type: 'basic',
usesLoginForm: true,
icon: 'logoElastic',
icon: 'logoElasticsearch',
description: 'Log in with Elasticsearch',
},
],
@ -340,7 +340,7 @@ describe('Login view routes', () => {
order: 0,
description: 'some-desc1',
hint: 'some-hint1',
icon: 'logoElastic',
icon: 'logoElasticsearch',
},
},
saml: {
@ -355,7 +355,7 @@ describe('Login view routes', () => {
name: 'basic1',
description: 'some-desc1',
hint: 'some-hint1',
icon: 'logoElastic',
icon: 'logoElasticsearch',
usesLoginForm: true,
},
{