diff --git a/client/src/components/RoomInfo.vue b/client/src/components/RoomInfo.vue
index 249ee81..ba5eee6 100644
--- a/client/src/components/RoomInfo.vue
+++ b/client/src/components/RoomInfo.vue
@@ -172,7 +172,7 @@
| CPUs | {{ settings.resources.nano_cpus | nanocpus }}--undefined-- |
| Memory | {{ settings.resources.memory | memory }}--undefined-- |
| CPU Shares | {{ settings.resources.cpu_shares }}--undefined-- |
- | Shm Size | {{ settings.resources.shm_size | memory }} |
+ | Shared memory | {{ settings.resources.shm_size | memory }} |
diff --git a/client/src/components/RoomsCreate.vue b/client/src/components/RoomsCreate.vue
index 466cf72..5ddb52c 100644
--- a/client/src/components/RoomsCreate.vue
+++ b/client/src/components/RoomsCreate.vue
@@ -313,6 +313,7 @@
:max="8*1e9"
:step="0.2*1e9"
color="blue"
+ hide-details
>
{{ value | memory }}
@@ -330,6 +331,7 @@
:max="8*1e9"
:step="0.2*1e9"
color="blue"
+ hide-details
>
{{ value | nanocpus }}
@@ -338,6 +340,25 @@
+
+
+
+
+ {{ value | memory }}
+ N/A
+
+
+
+
@@ -653,11 +674,6 @@ export default class RoomsCreate extends Vue {
...this.$store.state.defaultRoomSettings,
// eslint-disable-next-line
neko_image: this.nekoImages[0],
- resources: {
- // eslint-disable-next-line
- nano_cpus: 0,
- memory: 0,
- },
}
this.browserPolicyContent = { ...this.$store.state.defaultBrowserPolicyContent }
this.envList = Object.entries({...this.data.envs}).map(([ key, val ]) => ({ key, val, }))
diff --git a/client/src/store/state.ts b/client/src/store/state.ts
index 0947dee..1945cab 100644
--- a/client/src/store/state.ts
+++ b/client/src/store/state.ts
@@ -67,7 +67,15 @@ export const state = {
// eslint-disable-next-line
envs: {},
// eslint-disable-next-line
- mounts: [],
+ mounts: [],
+ // eslint-disable-next-line
+ resources: {
+ // eslint-disable-next-line
+ nano_cpus: 0,
+ memory: 0,
+ // eslint-disable-next-line
+ shm_size: 2000000000,
+ },
} as RoomSettings,
videoCodecs: [
"VP8",