mirror of
https://github.com/apache/superset.git
synced 2026-06-03 06:39:25 +00:00
feat(fe): upgrade superset-frontend to Typescript v5 (#31979)
Signed-off-by: hainenber <dotronghai96@gmail.com> Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>
This commit is contained in:
@@ -103,7 +103,9 @@ const QueryTable = ({
|
||||
columns.map(column => ({
|
||||
accessor: column,
|
||||
Header:
|
||||
QUERY_HISTORY_TABLE_HEADERS_LOCALIZED[column] || setHeaders(column),
|
||||
QUERY_HISTORY_TABLE_HEADERS_LOCALIZED[
|
||||
column as keyof typeof QUERY_HISTORY_TABLE_HEADERS_LOCALIZED
|
||||
] || setHeaders(column),
|
||||
disableSortBy: true,
|
||||
})),
|
||||
[columns],
|
||||
@@ -221,6 +223,17 @@ const QueryTable = ({
|
||||
label: t('Unknown Status'),
|
||||
},
|
||||
},
|
||||
started: {
|
||||
config: {
|
||||
icon: (
|
||||
<Icons.LoadingOutlined
|
||||
iconColor={theme.colors.primary.base}
|
||||
iconSize="m"
|
||||
/>
|
||||
),
|
||||
label: t('Started'),
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
return queries
|
||||
|
||||
Reference in New Issue
Block a user