From 87043f99fd67bebedc90859a3d27c97cae1f74c8 Mon Sep 17 00:00:00 2001 From: kaw67872 <kawtar.laariche@iais.fraunhofer.de> Date: Fri, 3 May 2024 20:26:25 +0200 Subject: [PATCH] #19: remove console logs --- src/app/shared/icons/favorite/favorite.component.ts | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/src/app/shared/icons/favorite/favorite.component.ts b/src/app/shared/icons/favorite/favorite.component.ts index 71509a6..7414845 100644 --- a/src/app/shared/icons/favorite/favorite.component.ts +++ b/src/app/shared/icons/favorite/favorite.component.ts @@ -17,20 +17,14 @@ import { PublicSolution } from '../../models'; templateUrl: './favorite.component.html', styleUrl: './favorite.component.scss', }) -export class FavoriteComponent implements OnInit, OnChanges { - ngOnChanges(changes: SimpleChanges): void {} +export class FavoriteComponent { @Input() loginUserID!: string; @Input() item!: PublicSolution; @Input() items!: PublicSolution[]; @Input() isFavoriteSolution!: boolean; @Output() favoriteClicked = new EventEmitter<string>(); - ngOnInit(): void { - console.log('isFavoriteSolution', this.isFavoriteSolution); - } - onFavoriteClick(solutionId: string): void { - console.log('FavoriteComponent', solutionId); this.favoriteClicked.emit(solutionId); } } -- GitLab