summaryrefslogtreecommitdiff
path: root/frontend/src/reducers/objects.js
diff options
context:
space:
mode:
authorGeorgios Andreadis <info@gandreadis.com>2020-07-07 09:55:10 +0200
committerFabian Mastenbroek <mail.fabianm@gmail.com>2020-08-24 19:47:25 +0200
commitb4bdf9fde013bb7ff9579693b64ff575f7b00e44 (patch)
tree5e05ceba918849391a639bbeeab37d290a86523c /frontend/src/reducers/objects.js
parent7331e9baf2cfe7bdfb24effcf0a4801da1e7ea4d (diff)
Rename simulations to projects and remove experiment view
Diffstat (limited to 'frontend/src/reducers/objects.js')
-rw-r--r--frontend/src/reducers/objects.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/frontend/src/reducers/objects.js b/frontend/src/reducers/objects.js
index f52ca369..d25eb136 100644
--- a/frontend/src/reducers/objects.js
+++ b/frontend/src/reducers/objects.js
@@ -8,9 +8,9 @@ import {
import { CPU_UNITS, GPU_UNITS, MEMORY_UNITS, STORAGE_UNITS } from '../util/unit-specifications'
export const objects = combineReducers({
- simulation: object('simulation'),
+ project: object('project'),
user: object('user'),
- authorization: objectWithId('authorization', (object) => [object.userId, object.simulationId]),
+ authorization: objectWithId('authorization', (object) => [object.userId, object.projectId]),
cpu: object('cpu', CPU_UNITS),
gpu: object('gpu', GPU_UNITS),
memory: object('memory', MEMORY_UNITS),