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> |
||
---|---|---|
.. | ||
hooks.ts | ||
initializeFromLocalStorage.ts | ||
localStorageMiddleware.ts | ||
queryPageSlice.ts | ||
serviceDiscoveryPageSlice.ts | ||
settingsSlice.ts | ||
store.ts | ||
targetsPageSlice.ts | ||
useNotifications.ts |