Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
0602ef28
Commit
0602ef28
authored
Apr 09, 2019
by
GitLab Bot
Browse files
Options
Browse Files
Download
Plain Diff
Automatic merge of gitlab-org/gitlab-ce master
parents
2b4881f6
7ec8871b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
doc/development/fe_guide/vuex.md
doc/development/fe_guide/vuex.md
+2
-2
No files found.
doc/development/fe_guide/vuex.md
View file @
0602ef28
...
...
@@ -83,7 +83,7 @@ In this file, we will write the actions that will call the respective mutations:
export
const
requestUsers
=
({
commit
})
=>
commit
(
types
.
REQUEST_USERS
);
export
const
receiveUsersSuccess
=
({
commit
},
data
)
=>
commit
(
types
.
RECEIVE_USERS_SUCCESS
,
data
);
export
const
receiveUsersError
=
({
commit
},
error
)
=>
commit
(
types
.
RE
QUEST
_USERS_ERROR
,
error
);
export
const
receiveUsersError
=
({
commit
},
error
)
=>
commit
(
types
.
RE
CEIVE
_USERS_ERROR
,
error
);
export
const
fetchUsers
=
({
state
,
dispatch
})
=>
{
dispatch
(
'
requestUsers
'
);
...
...
@@ -175,7 +175,7 @@ Remember that actions only describe that something happened, they don't describe
state
.
users
=
data
;
state
.
isLoading
=
false
;
},
[
types
.
RE
QUEST
_USERS_ERROR
](
state
,
error
)
{
[
types
.
RE
CEIVE
_USERS_ERROR
](
state
,
error
)
{
state
.
isLoading
=
false
;
},
[
types
.
REQUEST_ADD_USER
](
state
,
user
)
{
...
...
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