We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2a3423d commit 461787cCopy full SHA for 461787c
src/api/ai-workflow/ai-workflow.service.ts
@@ -859,7 +859,6 @@ export class AiWorkflowService {
859
);
860
861
// Reconstruct comments with child comments nested in parent's "comments" property
862
- // eslint-disable-next-line @typescript-eslint/no-unsafe-return
863
const commentsById: Record<string, any> = {};
864
865
for (const item of items) {
@@ -886,6 +885,7 @@ export class AiWorkflowService {
886
885
887
item.comments = item.comments
888
.filter((comment) => !comment.parentId)
+ // eslint-disable-next-line @typescript-eslint/no-unsafe-return
889
.map((comment) => commentsById[comment.id]);
890
}
891
0 commit comments