diff options
author | Jonas Sulzer <jonas@violoncello.ch> | 2019-04-26 13:14:01 +0200 |
---|---|---|
committer | Maxence Lange <maxence@artificial-owl.com> | 2019-05-03 16:31:15 -0100 |
commit | d78758b0b6090f8687f2ebc5f8810273d0713264 (patch) | |
tree | be62a5e45a63a34d11cff42b35a5426c896db581 /src/store | |
parent | 717acf0a818219218d0cb5cc56f57014af605a83 (diff) |
🐛 FIX: correctly handle boost state
Signed-off-by: Jonas Sulzer <jonas@violoncello.ch>
Diffstat (limited to 'src/store')
-rw-r--r-- | src/store/timeline.js | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/store/timeline.js b/src/store/timeline.js index 254c4ad7..f892a411 100644 --- a/src/store/timeline.js +++ b/src/store/timeline.js @@ -112,7 +112,6 @@ const actions = { }, postUnBoost(context, post) { return axios.delete(OC.generateUrl(`apps/social/api/v1/post/boost?postId=${post.id}`)).then((response) => { - context.commit('removeBoost', post) post.action.values.boosted = false // eslint-disable-next-line no-console console.log('Boost deleted with token ' + response.data.result.token) |