From d889a41487c1312ed11deb7e88f0214ac057727c Mon Sep 17 00:00:00 2001 From: Fabian Mastenbroek Date: Fri, 7 Oct 2022 14:04:28 +0200 Subject: feat(web/ui): Show monthly simulation budget in UI This change updates the OpenDC web UI to show the monthly simulation budget of the user in the user dropdown. This provides the user with a progress bar of the used simulation minutes. --- opendc-web/opendc-web-ui/src/data/query.js | 2 ++ 1 file changed, 2 insertions(+) (limited to 'opendc-web/opendc-web-ui/src/data/query.js') diff --git a/opendc-web/opendc-web-ui/src/data/query.js b/opendc-web/opendc-web-ui/src/data/query.js index 59eaa684..3e5423b9 100644 --- a/opendc-web/opendc-web-ui/src/data/query.js +++ b/opendc-web/opendc-web-ui/src/data/query.js @@ -26,6 +26,7 @@ import { useAuth } from '../auth' import { configureExperimentClient } from './experiments' import { configureProjectClient } from './project' import { configureTopologyClient } from './topology' +import { configureUserClient } from './user' let queryClient @@ -34,6 +35,7 @@ function createQueryClient(auth) { configureProjectClient(client, auth) configureExperimentClient(client, auth) configureTopologyClient(client, auth) + configureUserClient(client, auth) return client } -- cgit v1.2.3