mirror of
https://github.com/apache/superset.git
synced 2026-04-18 23:55:00 +00:00
feat(Table): Add infrastructure to override time shifts (#33947)
This commit is contained in:
committed by
GitHub
parent
2e9939baf2
commit
09736ee42c
@@ -116,6 +116,13 @@ const buildQuery: BuildQuery<TableChartFormData> = (
|
||||
}
|
||||
}
|
||||
|
||||
if (
|
||||
extra_form_data?.time_compare &&
|
||||
!timeOffsets.includes(extra_form_data.time_compare)
|
||||
) {
|
||||
timeOffsets = [extra_form_data.time_compare];
|
||||
}
|
||||
|
||||
let temporalColumnAdded = false;
|
||||
let temporalColumn = null;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user