summaryrefslogtreecommitdiff
path: root/src/Store
diff options
context:
space:
mode:
Diffstat (limited to 'src/Store')
-rw-r--r--src/Store/store.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Store/store.ts b/src/Store/store.ts
index c26f019..b8f4169 100644
--- a/src/Store/store.ts
+++ b/src/Store/store.ts
@@ -11,7 +11,7 @@ const reducers = {
}, { v: "", csrf: "", user: null, loading: false }),
'entities': createReducer({
'portalSet': (store: any, action: { guid: string, portal: Portal }) =>
- ({ ...store, portals: { ...store.portals, [action.guid]: action.portal } }),
+ ({ ...store, portals: { ...store.portals, [action.guid]: { ...action.portal } } }),
'linkSet': (store: any, action: { guid: string, link: Link }) =>
({ ...store, links: { ...store.links, [action.guid]: action.link } }),
'fieldSet': (store: any, action: { guid: string, field: Field }) =>