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>
pull/55275/head
Edward Ly 2 weeks ago
parent e6d9974b2d
commit 8858ba12cd
No known key found for this signature in database
GPG Key ID: 62EA9B12D5B3AC47
  1. 2
      apps/comments/src/store/deletedCommentLimbo.js

@ -22,7 +22,7 @@ export const useDeletedCommentLimbo = defineStore('deletedCommentLimbo', {
},
checkForId(id) {
this.idsInLimbo.includes(id)
return this.idsInLimbo.includes(id)
},
},
})

Loading…
Cancel
Save