Skip to content

Commit

Permalink
Update product.ts to fix TS error (#56)
Browse files Browse the repository at this point in the history
* Update product.ts

* Create changeset

---------

Co-authored-by: Anton Ovechkin <[email protected]>
  • Loading branch information
aalves08 and owanturist committed Jan 8, 2025
1 parent c23164d commit 720873b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changeset/fluffy-jokes-film.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"observability": patch
---

Drop the unsupported definition of `ProductOptions.label` field from `product.ts`.
2 changes: 0 additions & 2 deletions pkg/observability/product.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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: {
Expand Down

0 comments on commit 720873b

Please sign in to comment.