From 720873b7188972b5be2d812cfd99a4eff499b3b4 Mon Sep 17 00:00:00 2001 From: Alexandre Alves Date: Mon, 6 Jan 2025 09:49:44 +0000 Subject: [PATCH] Update product.ts to fix TS error (#56) * Update product.ts * Create changeset --------- Co-authored-by: Anton Ovechkin --- .changeset/fluffy-jokes-film.md | 5 +++++ pkg/observability/product.ts | 2 -- 2 files changed, 5 insertions(+), 2 deletions(-) create mode 100644 .changeset/fluffy-jokes-film.md diff --git a/.changeset/fluffy-jokes-film.md b/.changeset/fluffy-jokes-film.md new file mode 100644 index 00000000..58f2de66 --- /dev/null +++ b/.changeset/fluffy-jokes-film.md @@ -0,0 +1,5 @@ +--- +"observability": patch +--- + +Drop the unsupported definition of `ProductOptions.label` field from `product.ts`. diff --git a/pkg/observability/product.ts b/pkg/observability/product.ts index 73952bbf..242e801b 100644 --- a/pkg/observability/product.ts +++ b/pkg/observability/product.ts @@ -36,8 +36,6 @@ export function init($plugin: IPlugin, store: any) { // @ts-ignore -- though `svg` is not part of the interface, it does work. svg: stsIcon, name: OBSERVABILITY_PRODUCT_NAME, - - label: store.getters['i18n/t']('observability.name'), inStore: 'management', showClusterSwitcher: true, to: {