Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
Genesys Website
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
23
Issues
23
List
Boards
Labels
Service Desk
Milestones
Operations
Operations
Incidents
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Genesys PGR
Genesys Website
Commits
5092f56b
Commit
5092f56b
authored
Feb 27, 2019
by
Matija Obreza
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix: reset state accessionRefs when switching subsets
parent
481b42ee
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
0 deletions
+2
-0
src/subsets/reducers/dashboard.ts
src/subsets/reducers/dashboard.ts
+1
-0
src/subsets/reducers/public.ts
src/subsets/reducers/public.ts
+1
-0
No files found.
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
Markdown
is supported
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