Commit 8248bded authored by Oleksii Savran's avatar Oleksii Savran
Browse files

Merge branch '231-subset-accession-list' into 'master'

Resolve "Subset: accession list"

Closes #231

See merge request genesys-pgr/genesys-ui!238
parents d7deb5df b4091b6d
...@@ -75,7 +75,7 @@ function datasetsDashboard(state = INITIAL_STATE, action: { type?: string, paylo ...@@ -75,7 +75,7 @@ function datasetsDashboard(state = INITIAL_STATE, action: { type?: string, paylo
loading, loading,
error, error,
timestamp, timestamp,
data: Page.merge(state.paged && state.paged.data, data), data: Page.merge(state.accessionRefs && state.accessionRefs.data, data),
}, },
}, },
}); });
......
...@@ -63,7 +63,7 @@ function datasetsPublic(state = INITIAL_STATE, action: { type?: string, payload? ...@@ -63,7 +63,7 @@ function datasetsPublic(state = INITIAL_STATE, action: { type?: string, payload?
loading, loading,
error, error,
timestamp, timestamp,
data: Page.merge(state.paged && state.paged.data, data), data: Page.merge(state.accessionRefs && state.accessionRefs.data, data),
}, },
}, },
}); });
......
...@@ -65,7 +65,7 @@ function dashboardSubsets(state = INITIAL_STATE, action: IReducerAction) { ...@@ -65,7 +65,7 @@ function dashboardSubsets(state = INITIAL_STATE, action: IReducerAction) {
loading, loading,
error, error,
timestamp, timestamp,
data: Page.merge(state.paged && state.paged.data, data), data: Page.merge(state.accessionRefs && state.accessionRefs.data, data),
}, },
}, },
}); });
......
...@@ -58,7 +58,7 @@ function publicSubsets(state = INITIAL_STATE, action: IReducerAction) { ...@@ -58,7 +58,7 @@ function publicSubsets(state = INITIAL_STATE, action: IReducerAction) {
loading, loading,
error, error,
timestamp, timestamp,
data: Page.merge(state.paged && state.paged.data, data), data: Page.merge(state.accessionRefs && state.accessionRefs.data, data),
}, },
}, },
}); });
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment