Skip to content

Commit

Permalink
[Pie] Fixes the deprecation message on the legacy library switch (#11…
Browse files Browse the repository at this point in the history
…5915) (#115935)

Co-authored-by: Stratoula Kalafateli <efstratia.kalafateli@elastic.co>
  • Loading branch information
kibanamachine and stratoula authored Oct 21, 2021
1 parent 9cb1307 commit 98d1db3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/plugins/vis_types/pie/server/plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ import { CoreSetup, Plugin, UiSettingsParams } from 'kibana/server';
import { LEGACY_PIE_CHARTS_LIBRARY } from '../common';

export const getUiSettingsConfig: () => Record<string, UiSettingsParams<boolean>> = () => ({
// TODO: Remove this when vis_type_vislib is removed
// https://github.com/elastic/kibana/issues/56143
// TODO: Remove this when vislib pie is removed
// https://github.com/elastic/kibana/issues/111246
[LEGACY_PIE_CHARTS_LIBRARY]: {
name: i18n.translate('visTypePie.advancedSettings.visualization.legacyPieChartsLibrary.name', {
defaultMessage: 'Pie legacy charts library',
Expand All @@ -33,7 +33,7 @@ export const getUiSettingsConfig: () => Record<string, UiSettingsParams<boolean>
'visTypePie.advancedSettings.visualization.legacyPieChartsLibrary.deprecation',
{
defaultMessage:
'The legacy charts library for pie in visualize is deprecated and will not be supported as of 8.0.',
'The legacy charts library for pie in visualize is deprecated and will not be supported in a future version.',
}
),
docLinksKey: 'visualizationSettings',
Expand Down

0 comments on commit 98d1db3

Please sign in to comment.