From 4251f08b1177f4524d9239a4021302feaae1038e Mon Sep 17 00:00:00 2001 From: _Bastler Date: Mon, 4 Oct 2021 14:14:30 +0200 Subject: [PATCH] update comments --- src/app/ui/comments/comments.ui.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/ui/comments/comments.ui.ts b/src/app/ui/comments/comments.ui.ts index 832ed33..59b76a6 100644 --- a/src/app/ui/comments/comments.ui.ts +++ b/src/app/ui/comments/comments.ui.ts @@ -24,11 +24,11 @@ export class UiComments implements OnInit { refresh(): void { if (this.parent) { - this.commentService.getParentPages(this.target, this.parent, 0 , 2).subscribe((data) => { + this.commentService.getParent(this.target, this.parent).subscribe((data) => { this.comments = data; }) } else { - this.commentService.getPages(this.target, 0, 2).subscribe((data) => { + this.commentService.get(this.target).subscribe((data) => { this.comments = data; }) }