From 8be5469459a03fb58da29dc391e2c00758975ff4 Mon Sep 17 00:00:00 2001 From: Evan Rusackas Date: Thu, 9 Nov 2023 15:57:46 -0700 Subject: [PATCH] chore: removing unused chartMetadata field (#25926) --- .../superset-ui-core/src/chart/models/ChartMetadata.ts | 5 ----- 1 file changed, 5 deletions(-) diff --git a/superset-frontend/packages/superset-ui-core/src/chart/models/ChartMetadata.ts b/superset-frontend/packages/superset-ui-core/src/chart/models/ChartMetadata.ts index 34f373f0f4891..dcb1de62a5c62 100644 --- a/superset-frontend/packages/superset-ui-core/src/chart/models/ChartMetadata.ts +++ b/superset-frontend/packages/superset-ui-core/src/chart/models/ChartMetadata.ts @@ -36,7 +36,6 @@ export interface ChartMetadataConfig { description?: string; datasourceCount?: number; enableNoResults?: boolean; - show?: boolean; supportedAnnotationTypes?: string[]; thumbnail: string; useLegacyApi?: boolean; @@ -64,8 +63,6 @@ export default class ChartMetadata { description: string; - show: boolean; - supportedAnnotationTypes: string[]; thumbnail: string; @@ -100,7 +97,6 @@ export default class ChartMetadata { canBeAnnotationTypes = [], credits = [], description = '', - show = true, supportedAnnotationTypes = [], thumbnail, useLegacyApi = false, @@ -120,7 +116,6 @@ export default class ChartMetadata { this.name = name; this.credits = credits; this.description = description; - this.show = show; this.canBeAnnotationTypes = canBeAnnotationTypes; this.canBeAnnotationTypesLookup = canBeAnnotationTypes.reduce( (prev: LookupTable, type: string) => {