mirror of
https://github.com/apache/superset.git
synced 2026-05-12 19:35:17 +00:00
style: format with prettier
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -608,7 +608,14 @@ function ExploreViewContainer(props: ExploreViewContainerProps) {
|
||||
|
||||
if (tooltipContents.length > 0) {
|
||||
const getFieldName = (
|
||||
item: string | { item_type?: string; column_name?: string; metric_name?: string; label?: string },
|
||||
item:
|
||||
| string
|
||||
| {
|
||||
item_type?: string;
|
||||
column_name?: string;
|
||||
metric_name?: string;
|
||||
label?: string;
|
||||
},
|
||||
): string | null => {
|
||||
if (typeof item === 'string') return item;
|
||||
if (item?.item_type === 'column') return item.column_name ?? null;
|
||||
|
||||
Reference in New Issue
Block a user