Skip to content

Commit

Permalink
fix(number-card): fix previous data issue
Browse files Browse the repository at this point in the history
Signed-off-by: yuda <[email protected]>
  • Loading branch information
yuda110 committed Jan 3, 2025
1 parent f667175 commit cd6096f
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -168,8 +168,8 @@ const comparisonQueryKey = computed(() => [
'widget-load-number-card-comparison',
props.widgetId,
{
start: dateRange.value.start,
end: dateRange.value.end,
start: state.comparisonDateRange.start,
end: state.comparisonDateRange.end,
granularity: widgetOptionsState.granularityInfo?.granularity,
dataTableId: state.dataTable?.data_table_id,
dataTableOptions: JSON.stringify(sortObjectByKeys(state.dataTable?.options) ?? {}),
Expand Down

0 comments on commit cd6096f

Please sign in to comment.