feat(Table): Add infrastructure to override time shifts (#33947)

This commit is contained in:
Mehmet Salih Yavuz
2025-06-30 16:32:43 +03:00
committed by GitHub
parent 2e9939baf2
commit 09736ee42c
6 changed files with 16 additions and 3 deletions

View File

@@ -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;