From 36309137189973dc354ab23f3bc0b5f124519a9e Mon Sep 17 00:00:00 2001 From: const8ine <2constantine@protonmail.com> Date: Tue, 17 Oct 2023 20:46:54 -0300 Subject: [PATCH] #277. Turn on cookies policy banner --- src/app/core/services/settings.service.ts | 2 +- src/app/pages/datasets/horvath-clock/horvath-clock.component.ts | 2 -- src/app/pages/genes-search-page/genes-search-page.component.ts | 2 -- 3 files changed, 1 insertion(+), 5 deletions(-) diff --git a/src/app/core/services/settings.service.ts b/src/app/core/services/settings.service.ts index 4441a25f..ffc38abb 100644 --- a/src/app/core/services/settings.service.ts +++ b/src/app/core/services/settings.service.ts @@ -10,7 +10,7 @@ export class SettingsService { showUiHints: false, searchMode: SearchModeEnum.searchByGenes, isTableView: true, - showCookieBanner: false, // TODO: set to "true" when main page and Genes page will be separated, too many popups + showCookieBanner: true, }; public genesListSettings: GenesListSettings = { diff --git a/src/app/pages/datasets/horvath-clock/horvath-clock.component.ts b/src/app/pages/datasets/horvath-clock/horvath-clock.component.ts index 497e912f..c7142d14 100644 --- a/src/app/pages/datasets/horvath-clock/horvath-clock.component.ts +++ b/src/app/pages/datasets/horvath-clock/horvath-clock.component.ts @@ -1,7 +1,6 @@ import { ChangeDetectionStrategy, ChangeDetectorRef, Component, OnDestroy, OnInit } from '@angular/core'; import { ApiService } from '../../../core/services/api/open-genes-api.service'; import { takeUntil } from 'rxjs/operators'; -import { WizardService } from '../../../components/shared/wizard/wizard-service.service'; import { WindowWidth } from '../../../core/utils/window-width'; import { WindowService } from '../../../core/services/browser/window.service'; import { SearchMode } from '../../../core/models/settings.model'; @@ -26,7 +25,6 @@ export class HorvathClockComponent extends WindowWidth implements OnInit, OnDest constructor( public windowService: WindowService, - private wizardService: WizardService, private readonly apiService: ApiService, private readonly cdRef: ChangeDetectorRef ) { diff --git a/src/app/pages/genes-search-page/genes-search-page.component.ts b/src/app/pages/genes-search-page/genes-search-page.component.ts index 7563193c..3814ac4d 100644 --- a/src/app/pages/genes-search-page/genes-search-page.component.ts +++ b/src/app/pages/genes-search-page/genes-search-page.component.ts @@ -61,8 +61,6 @@ export class GenesSearchPageComponent extends WindowWidth implements OnInit, OnD } this.cdRef.markForCheck(); }); - - this.loadWizard(); } ngOnDestroy(): void {