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
Pierre-Yves Gicquel
albiziapp
Commits
8bcfb4a7
Commit
8bcfb4a7
authored
Oct 01, 2019
by
gick
Browse files
log change pages
parent
bf8e23f1
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/store/loggerPlugin.js
View file @
8bcfb4a7
...
...
@@ -11,6 +11,9 @@ let loggerPlugin = store => {
activity
=
{
index
:
state
.
user
.
indexActivite
,
name
:
state
.
user
.
activite
.
instruction
.
long
}
}
switch
(
mutation
.
type
){
case
'
tabbar/set
'
:
logEntry
(
'
changePage
'
+
mutation
.
payload
,
activity
)
break
case
'
user/addPoints
'
:
logEntry
(
'
updateScore
'
,
state
.
user
.
scores
,
activity
)
break
...
...
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