From fbd573e59cb8d96edb79663a2cd3696be00b23ad Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Mon, 28 Feb 2022 16:37:31 +0100 Subject: Add refresh button to comments list --- .../+admin/overview/comments/video-comment-list.component.html | 4 +++- .../+admin/overview/comments/video-comment-list.component.scss | 8 ++++++++ .../app/+admin/overview/comments/video-comment-list.component.ts | 2 +- 3 files changed, 12 insertions(+), 2 deletions(-) (limited to 'client/src/app/+admin/overview/comments') diff --git a/client/src/app/+admin/overview/comments/video-comment-list.component.html b/client/src/app/+admin/overview/comments/video-comment-list.component.html index 0dbbbe1cc..27a5d82ff 100644 --- a/client/src/app/+admin/overview/comments/video-comment-list.component.html +++ b/client/src/app/+admin/overview/comments/video-comment-list.component.html @@ -25,8 +25,10 @@ -
+
+ +
diff --git a/client/src/app/+admin/overview/comments/video-comment-list.component.scss b/client/src/app/+admin/overview/comments/video-comment-list.component.scss index 3cf7b8db6..d7eb02142 100644 --- a/client/src/app/+admin/overview/comments/video-comment-list.component.scss +++ b/client/src/app/+admin/overview/comments/video-comment-list.component.scss @@ -45,6 +45,14 @@ my-global-icon { } } +.right-form { + display: flex; + + > *:not(:last-child) { + @include margin-right(10px); + } +} + @media screen and (max-width: $primeng-breakpoint) { .video { align-items: flex-start !important; diff --git a/client/src/app/+admin/overview/comments/video-comment-list.component.ts b/client/src/app/+admin/overview/comments/video-comment-list.component.ts index 25fe65133..f3f43a900 100644 --- a/client/src/app/+admin/overview/comments/video-comment-list.component.ts +++ b/client/src/app/+admin/overview/comments/video-comment-list.component.ts @@ -117,7 +117,7 @@ export class VideoCommentListComponent extends RestTable implements OnInit { return this.selectedComments.length !== 0 } - protected reloadData () { + reloadData () { this.videoCommentService.getAdminVideoComments({ pagination: this.pagination, sort: this.sort, -- cgit v1.2.3