Merge Angular 16 Irish Monitor to develop #33

Merged
k.triantafyllou merged 151 commits from angular-16-irish-monitor into develop 2024-02-13 09:32:41 +01:00
2 changed files with 3 additions and 2 deletions
Showing only changes of commit c977bb0898 - Show all commits

View File

@ -109,10 +109,11 @@ export class CookieLawComponent implements OnInit {
this.isSeenEvt = new EventEmitter<boolean>();
this.animation = 'topIn';
this._position = 'bottom';
this.cookieLawSeen = this._service.seen(this.cookieName);
}
ngOnInit(): void {
this.cookieLawSeen = this._service.seen(this.cookieName);
if (typeof document !== 'undefined') {
this.animation = this.position === 'bottom' ? 'bottomIn' : 'topIn';

View File

@ -17,7 +17,7 @@ export class CookieLawService {
}
storeCookie(cookieName): void {
return this.setCookie('cookieName');
return this.setCookie(cookieName);
}
/**