Skip to content

Commit

Permalink
#277. Turn on cookies policy banner
Browse files Browse the repository at this point in the history
  • Loading branch information
const8ine committed Oct 17, 2023
1 parent b349514 commit 3630913
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion src/app/core/services/settings.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down
Original file line number Diff line number Diff line change
@@ -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';
Expand All @@ -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
) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,6 @@ export class GenesSearchPageComponent extends WindowWidth implements OnInit, OnD
}
this.cdRef.markForCheck();
});

this.loadWizard();
}

ngOnDestroy(): void {
Expand Down

0 comments on commit 3630913

Please sign in to comment.