mirror of
https://git.mirrors.martin98.com/https://github.com/SigNoz/signoz
synced 2025-08-14 18:45:56 +08:00
fix: time preference from the panel should be used to fetch data (#4836)
This commit is contained in:
parent
d6cd155988
commit
872ed9e963
@ -86,7 +86,7 @@ function FullView({
|
|||||||
return {
|
return {
|
||||||
query: updatedQuery,
|
query: updatedQuery,
|
||||||
graphType: PANEL_TYPES.LIST,
|
graphType: PANEL_TYPES.LIST,
|
||||||
selectedTime: 'GLOBAL_TIME',
|
selectedTime: widget?.timePreferance || 'GLOBAL_TIME',
|
||||||
globalSelectedInterval: globalSelectedTime,
|
globalSelectedInterval: globalSelectedTime,
|
||||||
tableParams: {
|
tableParams: {
|
||||||
pagination: {
|
pagination: {
|
||||||
|
@ -106,7 +106,7 @@ function GridCardGraph({
|
|||||||
return {
|
return {
|
||||||
query: updatedQuery,
|
query: updatedQuery,
|
||||||
graphType: PANEL_TYPES.LIST,
|
graphType: PANEL_TYPES.LIST,
|
||||||
selectedTime: 'GLOBAL_TIME',
|
selectedTime: widget.timePreferance || 'GLOBAL_TIME',
|
||||||
globalSelectedInterval,
|
globalSelectedInterval,
|
||||||
tableParams: {
|
tableParams: {
|
||||||
pagination: {
|
pagination: {
|
||||||
@ -121,7 +121,7 @@ function GridCardGraph({
|
|||||||
{
|
{
|
||||||
...requestData,
|
...requestData,
|
||||||
variables: getDashboardVariables(variables),
|
variables: getDashboardVariables(variables),
|
||||||
selectedTime: 'GLOBAL_TIME',
|
selectedTime: widget.timePreferance || 'GLOBAL_TIME',
|
||||||
globalSelectedInterval,
|
globalSelectedInterval,
|
||||||
},
|
},
|
||||||
version || DEFAULT_ENTITY_VERSION,
|
version || DEFAULT_ENTITY_VERSION,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user