Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Genesys PGR
Genesys Website
Commits
5092f56b
Commit
5092f56b
authored
Feb 27, 2019
by
Matija Obreza
Browse files
Fix: reset state accessionRefs when switching subsets
parent
481b42ee
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/subsets/reducers/dashboard.ts
View file @
5092f56b
...
...
@@ -52,6 +52,7 @@ function dashboardSubsets(state = INITIAL_STATE, action: IReducerAction) {
return
update
(
state
,
{
subset
:
{
$set
:
apiCall
},
paged
:
{
$set
:
null
},
accessionRefs
:
{
$set
:
null
},
});
}
}
...
...
src/subsets/reducers/public.ts
View file @
5092f56b
...
...
@@ -45,6 +45,7 @@ function publicSubsets(state = INITIAL_STATE, action: IReducerAction) {
}
else
{
return
update
(
state
,
{
subset
:
{
$set
:
apiCall
},
accessionRefs
:
{
$set
:
null
},
});
}
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment