From 079b2a772a032775f11b85378cd923315b132f26 Mon Sep 17 00:00:00 2001 From: Pratik Rajkotiya Date: Thu, 10 Feb 2022 18:46:38 +0530 Subject: [PATCH] [DSC-389] comment and import fixed. --- src/app/shared/browse-by/browse-by.component.ts | 10 +++++----- src/app/shared/pagination/pagination.component.ts | 6 +++--- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/app/shared/browse-by/browse-by.component.ts b/src/app/shared/browse-by/browse-by.component.ts index 8245897609..a1622cf4dc 100644 --- a/src/app/shared/browse-by/browse-by.component.ts +++ b/src/app/shared/browse-by/browse-by.component.ts @@ -70,27 +70,27 @@ export class BrowseByComponent implements OnInit { @Input() showPaginator = true; /** - * If showPaginator is set to true, should it hide the options gear? + * It is used to hide or show gear */ @Input() hideGear = false; /** - * If showPaginator is set to true, emit when the previous button is clicked + * Emits event when prev button clicked */ @Output() prev = new EventEmitter(); /** - * If showPaginator is set to true, emit when the next button is clicked + * Emits event when next button clicked */ @Output() next = new EventEmitter(); /** - * If showPaginator is set to true, emit when the page size is changed + * Emits event when page size is changed */ @Output() pageSizeChange = new EventEmitter(); /** - * If showPaginator is set to true, emit when the sort direction is changed + * Emits event when page sort direction is changed */ @Output() sortDirectionChange = new EventEmitter(); diff --git a/src/app/shared/pagination/pagination.component.ts b/src/app/shared/pagination/pagination.component.ts index 5531326514..6da813cbc7 100644 --- a/src/app/shared/pagination/pagination.component.ts +++ b/src/app/shared/pagination/pagination.component.ts @@ -20,10 +20,10 @@ import { hasValue } from '../empty.util'; import { PageInfo } from '../../core/shared/page-info.model'; import { PaginationService } from '../../core/pagination/pagination.service'; import { map, take } from 'rxjs/operators'; -import { RemoteData } from 'src/app/core/data/remote-data'; -import { PaginatedList } from 'src/app/core/data/paginated-list.model'; +import { RemoteData } from '../../core/data/remote-data'; +import { PaginatedList } from '../../core/data/paginated-list.model'; import { ListableObject } from '../object-collection/shared/listable-object.model'; -import { ViewMode } from 'src/app/core/shared/view-mode.model'; +import { ViewMode } from '../../core/shared/view-mode.model'; /** * The default pagination controls component.