Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
ThaliApp
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
thalia
ThaliApp
Commits
a985b17c
Commit
a985b17c
authored
5 years ago
by
Dirk Doesburg
Browse files
Options
Downloads
Patches
Plain Diff
fix TypeError
parent
597ce704
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!398
"Search for Calendar events"
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
app/reducers/calendar.js
+4
-4
4 additions, 4 deletions
app/reducers/calendar.js
with
4 additions
and
4 deletions
app/reducers/calendar.js
+
4
−
4
View file @
a985b17c
...
...
@@ -7,11 +7,11 @@ const initialState = {
keywords
:
undefined
,
};
export
default
function
calendar
(
state
=
initialState
,
{
type
,
payload
})
{
switch
(
type
)
{
export
default
function
calendar
(
state
=
initialState
,
action
=
{
})
{
switch
(
action
.
type
)
{
case
calendarActions
.
SUCCESS
:
return
{
eventList
:
payload
.
eventList
,
eventList
:
action
.
payload
.
eventList
,
loading
:
false
,
status
:
'
success
'
,
};
...
...
@@ -25,7 +25,7 @@ export default function calendar(state = initialState, { type, payload }) {
return
{
...
state
,
loading
:
true
,
keywords
:
payload
.
keywords
,
keywords
:
action
.
payload
.
keywords
,
};
default
:
return
state
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment