[Metrics UI] Inventory View sends two request for the Snapshot API #71539
Labels
bug
Fixes for quality problems that affect the customer experience
Feature:Metrics UI
Metrics UI feature
Team:Infra Monitoring UI - DEPRECATED
DEPRECATED - Label for the Infra Monitoring UI team. Use Team:obs-ux-infra_services
Milestone
Kibana version:
master
Elasticsearch version:
master
Original install method (e.g. download page, yum, from source, etc.):
source
Describe the bug:
When you load the snapshot page it sends two identical requests. This is because in the
Layout
component theuseSnapshot()
hook is being called without setting thesendRequestImmediatly
argument tofalse
Steps to reproduce:
/api/metrics/snapshot
is hit twiceExpected behavior:
It should only make one request.
The text was updated successfully, but these errors were encountered: