summaryrefslogtreecommitdiffstats
path: root/src/store
diff options
context:
space:
mode:
authorMaxence Lange <maxence@artificial-owl.com>2019-08-15 12:56:29 -0100
committerMaxence Lange <maxence@artificial-owl.com>2019-08-15 12:56:29 -0100
commit135bb96694326fdc88dbae97513d4370d334f9bf (patch)
tree77d843c9f7549f6bc44d6bd2a5e1951bfc0ed5d0 /src/store
parent3b2942f3eed9b59a92c60d7f605a10622bf0810b (diff)
update if on the right timeline
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
Diffstat (limited to 'src/store')
-rw-r--r--src/store/timeline.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/store/timeline.js b/src/store/timeline.js
index 72c29677..f140da91 100644
--- a/src/store/timeline.js
+++ b/src/store/timeline.js
@@ -199,6 +199,9 @@ const actions = {
context.commit('addToTimeline', response.data.result)
return response.data
})
+ },
+ addToTimeline(context, data) {
+ context.commit('addToTimeline', data)
}
}