Move to OCS requests in comments api service

Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
Julius Härtl
2020-03-06 16:11:39 +01:00
parent ecbbc29384
commit 694438bd3a
3 changed files with 33 additions and 50 deletions

View File

@@ -53,7 +53,7 @@ export default {
if (state.comments[cardId] === undefined) {
Vue.set(state.comments, cardId, {
hasMore: comments.length > 0,
comments,
comments: [ ...comments ],
})
} else {
const newComments = comments.filter((comment) => {