lint
This commit is contained in:
parent
20f8a399ea
commit
57fbc5126a
1 changed files with 5 additions and 4 deletions
|
|
@ -305,10 +305,11 @@ const conversation = {
|
|||
topLevel() {
|
||||
const topLevel = this.conversation.reduce(
|
||||
(tl, cur) =>
|
||||
tl.filter((k) =>
|
||||
!this.getReplies(cur.id)
|
||||
.map((v) => v.id)
|
||||
.includes(k.id),
|
||||
tl.filter(
|
||||
(k) =>
|
||||
!this.getReplies(cur.id)
|
||||
.map((v) => v.id)
|
||||
.includes(k.id),
|
||||
),
|
||||
this.conversation,
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue