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
thalia
ThaliApp
Commits
78856e8b
Commit
78856e8b
authored
Dec 20, 2017
by
Sébastiaan Versteeg
Browse files
Change event reducer to reset events to initial state on FETCHING action
parent
e879e307
Changes
1
Hide whitespace changes
Inline
Side-by-side
app/reducers/event.js
View file @
78856e8b
...
...
@@ -24,7 +24,7 @@ export default function loadEvent(state = initialState, action = {}) {
switch
(
action
.
type
)
{
case
eventActions
.
FETCHING
:
{
return
{
...
s
tate
,
...
initialS
tate
,
loading
:
true
,
};
}
...
...
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