mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
[Logs UI] Add default panel title to log stream embeddable (#91817)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
This commit is contained in:
parent
ee81110516
commit
004238ac16
1 changed files with 12 additions and 1 deletions
|
@ -6,6 +6,7 @@
|
|||
*/
|
||||
|
||||
import { StartServicesAccessor } from 'kibana/public';
|
||||
import { i18n } from '@kbn/i18n';
|
||||
import {
|
||||
EmbeddableFactoryDefinition,
|
||||
IContainer,
|
||||
|
@ -34,6 +35,16 @@ export class LogStreamEmbeddableFactoryDefinition
|
|||
}
|
||||
|
||||
public getDisplayName() {
|
||||
return 'Log stream';
|
||||
return i18n.translate('xpack.infra.logStreamEmbeddable.displayName', {
|
||||
defaultMessage: 'Log stream',
|
||||
});
|
||||
}
|
||||
|
||||
public async getExplicitInput() {
|
||||
return {
|
||||
title: i18n.translate('xpack.infra.logStreamEmbeddable.title', {
|
||||
defaultMessage: 'Log stream',
|
||||
}),
|
||||
};
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue