diff --git a/src/app/+search-page/search-service/search-configuration.service.spec.ts b/src/app/+search-page/search-service/search-configuration.service.spec.ts
index af8897c93b..f1f4ef8bdc 100644
--- a/src/app/+search-page/search-service/search-configuration.service.spec.ts
+++ b/src/app/+search-page/search-service/search-configuration.service.spec.ts
@@ -117,7 +117,7 @@ describe('SearchConfigurationService', () => {
describe('when subscribeToSearchOptions is called', () => {
beforeEach(() => {
- service.subscribeToSearchOptions(defaults)
+ (service as any).subscribeToSearchOptions(defaults)
});
it('should call all getters it needs, but not call any others', () => {
expect(service.getCurrentPagination).not.toHaveBeenCalled();
@@ -131,7 +131,7 @@ describe('SearchConfigurationService', () => {
describe('when subscribeToPaginatedSearchOptions is called', () => {
beforeEach(() => {
- service.subscribeToPaginatedSearchOptions(defaults);
+ (service as any).subscribeToPaginatedSearchOptions(defaults);
});
it('should call all getters it needs', () => {
expect(service.getCurrentPagination).toHaveBeenCalled();
diff --git a/src/app/+search-page/search-service/search-configuration.service.ts b/src/app/+search-page/search-service/search-configuration.service.ts
index 292f26724d..7ba1ebd75f 100644
--- a/src/app/+search-page/search-service/search-configuration.service.ts
+++ b/src/app/+search-page/search-service/search-configuration.service.ts
@@ -186,7 +186,7 @@ export class SearchConfigurationService implements OnDestroy {
* @param {SearchOptions} defaults Default values for when no parameters are available
* @returns {Subscription} The subscription to unsubscribe from
*/
- subscribeToSearchOptions(defaults: SearchOptions): Subscription {
+ private subscribeToSearchOptions(defaults: SearchOptions): Subscription {
return observableMerge(
this.getScopePart(defaults.scope),
this.getQueryPart(defaults.query),
@@ -204,7 +204,7 @@ export class SearchConfigurationService implements OnDestroy {
* @param {PaginatedSearchOptions} defaults Default values for when no parameters are available
* @returns {Subscription} The subscription to unsubscribe from
*/
- subscribeToPaginatedSearchOptions(defaults: PaginatedSearchOptions): Subscription {
+ private subscribeToPaginatedSearchOptions(defaults: PaginatedSearchOptions): Subscription {
return observableMerge(
this.getPaginationPart(defaults.pagination),
this.getSortPart(defaults.sort),
diff --git a/src/app/core/cache/object-cache.service.ts b/src/app/core/cache/object-cache.service.ts
index 9be895c41a..ec91d0f37e 100644
--- a/src/app/core/cache/object-cache.service.ts
+++ b/src/app/core/cache/object-cache.service.ts
@@ -33,7 +33,7 @@ const entryFromSelfLinkSelector =
(state: ObjectCacheState) => state[selfLink],
);
- /**
+/**
* A service to interact with the object cache
*/
@Injectable()
diff --git a/src/app/shared/services/route.service.ts b/src/app/shared/services/route.service.ts
index b6c7747cfb..6350605bce 100644
--- a/src/app/shared/services/route.service.ts
+++ b/src/app/shared/services/route.service.ts
@@ -15,7 +15,6 @@ export class RouteService {
}
getQueryParameterValues(paramName: string): Observable
{
- console.log('called');
return this.route.queryParamMap.pipe(
map((params) => [...params.getAll(paramName)]),
distinctUntilChanged((a, b) => JSON.stringify(a) === JSON.stringify(b))
@@ -46,7 +45,6 @@ export class RouteService {
getQueryParamsWithPrefix(prefix: string): Observable {
return this.route.queryParamMap.pipe(
map((qparams) => {
- console.log('map');
const params = {};
qparams.keys
.filter((key) => key.startsWith(prefix))
@@ -55,8 +53,7 @@ export class RouteService {
});
return params;
}),
- distinctUntilChanged((a, b) => { console.log('changed?', a, b, JSON.stringify(a) === JSON.stringify(b)); return JSON.stringify(a) === JSON.stringify(b)}),
- tap((t) => console.log('changed'))
+ distinctUntilChanged((a, b) => JSON.stringify(a) === JSON.stringify(b)),
);
}
}
diff --git a/src/main.browser.ts b/src/main.browser.ts
index 7b0fbf9d65..8409a96485 100644
--- a/src/main.browser.ts
+++ b/src/main.browser.ts
@@ -12,7 +12,6 @@ import { BrowserAppModule } from './modules/app/browser-app.module';
import { ENV_CONFIG } from './config';
-
if (ENV_CONFIG.production) {
enableProdMode();
}