mirror of
https://github.com/prometheus/prometheus.git
synced 2024-11-15 01:54:06 -08:00
b826c43987
Without this, the page that is shown first renders once with an empty path prefix value, since the settings update takes a render cycle to complete. However, we only fetch certain data from the API exactly once for a given page, and not for every re-render with changed path prefix value (and we also wouldn't want to fetch it from the wrong location initially). This duplicates the served endpoint list once more, but exporting them from App.tsx would also have been dirty (hot reload only works when a file only exports one component and nothing else, thus there'd be a linter warning). Signed-off-by: Julius Volz <julius.volz@gmail.com> |
||
---|---|---|
.. | ||
api | ||
codemirror | ||
components | ||
fonts | ||
images | ||
lib | ||
pages | ||
promql | ||
state | ||
types | ||
App.module.css | ||
App.tsx | ||
Badge.module.css | ||
main.tsx | ||
mantine-overrides.css | ||
Panel.module.css | ||
promql.css | ||
setupTests.ts | ||
styles.ts | ||
vite-env.d.ts |