diff options
| author | Fabian Mastenbroek <mail.fabianm@gmail.com> | 2022-10-07 14:04:28 +0200 |
|---|---|---|
| committer | Fabian Mastenbroek <mail.fabianm@gmail.com> | 2022-10-10 12:14:50 +0200 |
| commit | d889a41487c1312ed11deb7e88f0214ac057727c (patch) | |
| tree | fd07a4ea0b64e1260b8be6f57e018b88bb579bd5 /opendc-web/opendc-web-ui/src/data/query.js | |
| parent | 2c739c4fdb5aab1d1d4480d4e233a1174bc85494 (diff) | |
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.
Diffstat (limited to 'opendc-web/opendc-web-ui/src/data/query.js')
| -rw-r--r-- | opendc-web/opendc-web-ui/src/data/query.js | 2 |
1 files changed, 2 insertions, 0 deletions
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 } |
