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() {
|
topLevel() {
|
||||||
const topLevel = this.conversation.reduce(
|
const topLevel = this.conversation.reduce(
|
||||||
(tl, cur) =>
|
(tl, cur) =>
|
||||||
tl.filter((k) =>
|
tl.filter(
|
||||||
!this.getReplies(cur.id)
|
(k) =>
|
||||||
.map((v) => v.id)
|
!this.getReplies(cur.id)
|
||||||
.includes(k.id),
|
.map((v) => v.id)
|
||||||
|
.includes(k.id),
|
||||||
),
|
),
|
||||||
this.conversation,
|
this.conversation,
|
||||||
)
|
)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue