Skip to content
Snippets Groups Projects
Commit 87043f99 authored by Kawtar Laariche's avatar Kawtar Laariche
Browse files

#19: remove console logs

parent 7b39f773
No related branches found
No related tags found
No related merge requests found
...@@ -17,20 +17,14 @@ import { PublicSolution } from '../../models'; ...@@ -17,20 +17,14 @@ import { PublicSolution } from '../../models';
templateUrl: './favorite.component.html', templateUrl: './favorite.component.html',
styleUrl: './favorite.component.scss', styleUrl: './favorite.component.scss',
}) })
export class FavoriteComponent implements OnInit, OnChanges { export class FavoriteComponent {
ngOnChanges(changes: SimpleChanges): void {}
@Input() loginUserID!: string; @Input() loginUserID!: string;
@Input() item!: PublicSolution; @Input() item!: PublicSolution;
@Input() items!: PublicSolution[]; @Input() items!: PublicSolution[];
@Input() isFavoriteSolution!: boolean; @Input() isFavoriteSolution!: boolean;
@Output() favoriteClicked = new EventEmitter<string>(); @Output() favoriteClicked = new EventEmitter<string>();
ngOnInit(): void {
console.log('isFavoriteSolution', this.isFavoriteSolution);
}
onFavoriteClick(solutionId: string): void { onFavoriteClick(solutionId: string): void {
console.log('FavoriteComponent', solutionId);
this.favoriteClicked.emit(solutionId); this.favoriteClicked.emit(solutionId);
} }
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment