diff options
| author | Fabian Mastenbroek <mail.fabianm@gmail.com> | 2022-05-16 10:45:59 +0200 |
|---|---|---|
| committer | Fabian Mastenbroek <mail.fabianm@gmail.com> | 2022-05-16 10:45:59 +0200 |
| commit | 63c88a4ce70b065a568992cde28135818e0031b9 (patch) | |
| tree | 8d157d2553438dd9ac59983bc0fdd6ca63bbdb4b /opendc-web/opendc-web-ui/src | |
| parent | 30d502ff637bce778ec3ec5de86e357e61f0d68a (diff) | |
build(web/ui): Update dependencies of web UI
This change updates the dependencies of the Next.js-based web UI to
their latest available versions where possible.
Diffstat (limited to 'opendc-web/opendc-web-ui/src')
4 files changed, 5 insertions, 4 deletions
diff --git a/opendc-web/opendc-web-ui/src/components/context/ContextSelector.module.scss b/opendc-web/opendc-web-ui/src/components/context/ContextSelector.module.scss index 0aa63ee6..07b7b1d0 100644 --- a/opendc-web/opendc-web-ui/src/components/context/ContextSelector.module.scss +++ b/opendc-web/opendc-web-ui/src/components/context/ContextSelector.module.scss @@ -20,7 +20,8 @@ * SOFTWARE. */ -.contextSelector { +.contextSelector.contextSelector { + // Ensure this selector has precedence over the default one margin-right: 20px; --pf-c-context-selector__toggle--PaddingTop: var(--pf-global--spacer--sm); diff --git a/opendc-web/opendc-web-ui/src/redux/actions/topology/building.js b/opendc-web/opendc-web-ui/src/redux/actions/topology/building.js index e430da2e..c12417b9 100644 --- a/opendc-web/opendc-web-ui/src/redux/actions/topology/building.js +++ b/opendc-web/opendc-web-ui/src/redux/actions/topology/building.js @@ -1,4 +1,4 @@ -import { uuid } from 'uuidv4' +import { v4 as uuid } from 'uuid' import { addRoom, deleteRoom } from './room' export const START_NEW_ROOM_CONSTRUCTION = 'START_NEW_ROOM_CONSTRUCTION' diff --git a/opendc-web/opendc-web-ui/src/redux/actions/topology/rack.js b/opendc-web/opendc-web-ui/src/redux/actions/topology/rack.js index 308acaa6..1f65952a 100644 --- a/opendc-web/opendc-web-ui/src/redux/actions/topology/rack.js +++ b/opendc-web/opendc-web-ui/src/redux/actions/topology/rack.js @@ -1,4 +1,4 @@ -import { uuid } from 'uuidv4' +import { v4 as uuid } from 'uuid' export const EDIT_RACK_NAME = 'EDIT_RACK_NAME' export const DELETE_RACK = 'DELETE_RACK' diff --git a/opendc-web/opendc-web-ui/src/redux/actions/topology/room.js b/opendc-web/opendc-web-ui/src/redux/actions/topology/room.js index fd2d8cdc..350c1d92 100644 --- a/opendc-web/opendc-web-ui/src/redux/actions/topology/room.js +++ b/opendc-web/opendc-web-ui/src/redux/actions/topology/room.js @@ -1,4 +1,4 @@ -import { uuid } from 'uuidv4' +import { v4 as uuid } from 'uuid' import { DEFAULT_RACK_SLOT_CAPACITY, DEFAULT_RACK_POWER_CAPACITY, |
