mirror of
https://github.com/nextcloud/server.git
synced 2026-03-05 23:11:08 -05:00
fix(comments): explicitly return limbo status of comment
Otherwise, the `checkForId` function returns `undefined` regardless of whether the comment is in limbo or not. Signed-off-by: Edward Ly <contact@edward.ly>
This commit is contained in:
parent
4d99e4bbaf
commit
eb65bd33a4
1 changed files with 1 additions and 1 deletions
|
|
@ -22,7 +22,7 @@ export const useDeletedCommentLimbo = defineStore('deletedCommentLimbo', {
|
|||
},
|
||||
|
||||
checkForId(id) {
|
||||
this.idsInLimbo.includes(id)
|
||||
return this.idsInLimbo.includes(id)
|
||||
},
|
||||
},
|
||||
})
|
||||
|
|
|
|||
Loading…
Reference in a new issue