From 769adb6bddf550a070f5e5e1507daf956e98429a Mon Sep 17 00:00:00 2001 From: Nathan Buckingham Date: Fri, 22 Nov 2024 09:05:20 -0500 Subject: [PATCH] 116466: More Lint fixes --- src/app/shared/rss-feed/rss.component.spec.ts | 4 ++-- src/app/shared/rss-feed/rss.component.ts | 12 ++++++------ 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/app/shared/rss-feed/rss.component.spec.ts b/src/app/shared/rss-feed/rss.component.spec.ts index ec790315c6d..60de4caef6d 100644 --- a/src/app/shared/rss-feed/rss.component.spec.ts +++ b/src/app/shared/rss-feed/rss.component.spec.ts @@ -5,7 +5,7 @@ import { } from '@angular/core/testing'; import { ActivatedRoute, - Router + Router, } from '@angular/router'; import { TranslateService } from '@ngx-translate/core'; import { of as observableOf } from 'rxjs'; @@ -22,6 +22,7 @@ import { LinkHeadService } from '../../core/services/link-head.service'; import { Collection } from '../../core/shared/collection.model'; import { ConfigurationProperty } from '../../core/shared/configuration-property.model'; import { SearchConfigurationService } from '../../core/shared/search/search-configuration.service'; +import { MockActivatedRoute } from '../mocks/active-router.mock'; import { RouterMock } from '../mocks/router.mock'; import { getMockTranslateService } from '../mocks/translate.service.mock'; import { PaginationComponentOptions } from '../pagination/pagination-component-options.model'; @@ -35,7 +36,6 @@ import { PaginationServiceStub } from '../testing/pagination-service.stub'; import { SearchConfigurationServiceStub } from '../testing/search-configuration-service.stub'; import { createPaginatedList } from '../testing/utils.test'; import { RSSComponent } from './rss.component'; -import { MockActivatedRoute } from '../mocks/active-router.mock'; describe('RssComponent', () => { let comp: RSSComponent; diff --git a/src/app/shared/rss-feed/rss.component.ts b/src/app/shared/rss-feed/rss.component.ts index 10bb5653860..7d0338ba972 100644 --- a/src/app/shared/rss-feed/rss.component.ts +++ b/src/app/shared/rss-feed/rss.component.ts @@ -9,9 +9,9 @@ import { OnInit, ViewEncapsulation, } from '@angular/core'; -import { +import { ActivatedRoute, - Router + Router, } from '@angular/router'; import { TranslateModule, @@ -35,12 +35,12 @@ import { PaginationService } from '../../core/pagination/pagination.service'; import { LinkHeadService } from '../../core/services/link-head.service'; import { getFirstCompletedRemoteData } from '../../core/shared/operators'; import { SearchConfigurationService } from '../../core/shared/search/search-configuration.service'; -import { PaginatedSearchOptions } from '../search/models/paginated-search-options.model'; -import { SearchFilter } from '../search/models/search-filter.model'; -import { +import { hasValue, - isUndefined + isUndefined, } from '../empty.util'; +import { PaginatedSearchOptions } from '../search/models/paginated-search-options.model'; +import { SearchFilter } from '../search/models/search-filter.model'; /** * The Rss feed button component. */