Fix running of duplicite queries when clicking on Older logs button (#33992)
This commit is contained in:
@@ -98,9 +98,10 @@ function LogsNavigation({
|
|||||||
from: pages[currentPageIndex + 1].queryRange.from,
|
from: pages[currentPageIndex + 1].queryRange.from,
|
||||||
to: pages[currentPageIndex + 1].queryRange.to,
|
to: pages[currentPageIndex + 1].queryRange.to,
|
||||||
});
|
});
|
||||||
|
} else {
|
||||||
|
//If we are on the last page, create new range
|
||||||
|
changeTime({ from: visibleRange.from - rangeSpanRef.current, to: visibleRange.from });
|
||||||
}
|
}
|
||||||
//If we are on the last page, create new range
|
|
||||||
changeTime({ from: visibleRange.from - rangeSpanRef.current, to: visibleRange.from });
|
|
||||||
}}
|
}}
|
||||||
disabled={loading}
|
disabled={loading}
|
||||||
>
|
>
|
||||||
|
|||||||
Reference in New Issue
Block a user