michael-s-molina commented on code in PR #20645: URL: https://github.com/apache/superset/pull/20645#discussion_r916859032
########## superset-frontend/src/dashboard/components/nativeFilters/FiltersConfigModal/FiltersConfigForm/utils.ts: ########## @@ -88,9 +88,7 @@ export const datasetToSelectOption = ( // TODO: add column_types field to Dataset // We return true if column_types is undefined or empty as a precaution against backend failing to return column_types -export const hasTemporalColumns = ( - dataset: Dataset & { column_types: GenericDataType[] }, -) => { +export const hasTemporalColumns = (dataset: Dataset) => { const columnTypes = ensureIsArray(dataset?.column_types); return ( columnTypes.length === 0 || columnTypes.includes(GenericDataType.TEMPORAL) Review Comment: Reverted -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: notifications-unsubscr...@superset.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: notifications-unsubscr...@superset.apache.org For additional commands, e-mail: notifications-h...@superset.apache.org