mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
Co-authored-by: Jason Stoltzfus <jastoltz24@gmail.com>
This commit is contained in:
parent
409a0c69f5
commit
627449e114
1 changed files with 15 additions and 5 deletions
|
@ -32,17 +32,23 @@ export const CredentialsList: React.FC = () => {
|
|||
|
||||
const columns: Array<EuiBasicTableColumn<ApiToken>> = [
|
||||
{
|
||||
name: 'Name',
|
||||
name: i18n.translate('xpack.enterpriseSearch.appSearch.credentials.list.nameTitle', {
|
||||
defaultMessage: 'Name',
|
||||
}),
|
||||
width: '12%',
|
||||
render: (token: ApiToken) => token.name,
|
||||
},
|
||||
{
|
||||
name: 'Type',
|
||||
name: i18n.translate('xpack.enterpriseSearch.appSearch.credentials.list.typeTitle', {
|
||||
defaultMessage: 'Type',
|
||||
}),
|
||||
width: '15%',
|
||||
render: (token: ApiToken) => TOKEN_TYPE_DISPLAY_NAMES[token.type],
|
||||
},
|
||||
{
|
||||
name: 'Key',
|
||||
name: i18n.translate('xpack.enterpriseSearch.appSearch.credentials.list.keyTitle', {
|
||||
defaultMessage: 'Key',
|
||||
}),
|
||||
width: '36%',
|
||||
className: 'eui-textBreakAll',
|
||||
render: (token: ApiToken) => {
|
||||
|
@ -71,12 +77,16 @@ export const CredentialsList: React.FC = () => {
|
|||
},
|
||||
},
|
||||
{
|
||||
name: 'Modes',
|
||||
name: i18n.translate('xpack.enterpriseSearch.appSearch.credentials.list.modesTitle', {
|
||||
defaultMessage: 'Modes',
|
||||
}),
|
||||
width: '10%',
|
||||
render: (token: ApiToken) => getModeDisplayText(token),
|
||||
},
|
||||
{
|
||||
name: 'Engines',
|
||||
name: i18n.translate('xpack.enterpriseSearch.appSearch.credentials.list.enginesTitle', {
|
||||
defaultMessage: 'Engines',
|
||||
}),
|
||||
width: '18%',
|
||||
render: (token: ApiToken) => getEnginesDisplayText(token),
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue