From 640cfb6d4f63c0a88523925d4dcd7531a7a9a1bc Mon Sep 17 00:00:00 2001 From: leejinho Date: Wed, 19 Feb 2020 15:55:06 +0900 Subject: [PATCH] =?UTF-8?q?#=20=EC=9D=B4=EC=8A=88=EC=B2=98=EB=A6=AC=20252?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../messenger/components/right-drawer/notice.component.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/projects/ucap-webmessenger-app/src/app/layouts/messenger/components/right-drawer/notice.component.ts b/projects/ucap-webmessenger-app/src/app/layouts/messenger/components/right-drawer/notice.component.ts index ef4a13c5..5c07b0d3 100644 --- a/projects/ucap-webmessenger-app/src/app/layouts/messenger/components/right-drawer/notice.component.ts +++ b/projects/ucap-webmessenger-app/src/app/layouts/messenger/components/right-drawer/notice.component.ts @@ -19,7 +19,7 @@ import { RetrieveNoticeRequest } from '@ucap-webmessenger/api-message'; import { NGXLogger } from 'ngx-logger'; -import { MatPaginator } from '@angular/material/paginator'; +import { MatPaginator, PageEvent } from '@angular/material/paginator'; import { NoticeDetailDialogComponent, NoticeDetailDialogData @@ -75,7 +75,7 @@ export class NoticeComponent implements OnInit, OnDestroy, AfterViewInit { return this.messageApiService.retrieveNotice({ userSeq: this.loginRes.userSeq, companyCode: this.loginRes.companyCode, - pageSize: this.defaultPageSize, + pageSize: this.paginator.pageSize || this.defaultPageSize, pageCount: this.paginator.pageIndex } as RetrieveNoticeRequest); }),