Delete console.log

This commit is contained in:
Giuseppe Digilio
2017-08-01 16:58:31 +02:00
parent a3e0b01d19
commit 0e4d6e6334

View File

@@ -25,7 +25,7 @@ import { isUndefined } from 'util';
templateUrl: './collection-page.component.html',
changeDetection: ChangeDetectionStrategy.OnPush
})
export class CollectionPageComponent implements OnChanges, OnInit, OnDestroy {
export class CollectionPageComponent implements OnInit, OnDestroy {
collectionData: RemoteData<Collection>;
itemData: RemoteData<Item[]>;
logoData: RemoteData<Bitstream>;
@@ -44,10 +44,6 @@ export class CollectionPageComponent implements OnChanges, OnInit, OnDestroy {
}
ngOnChanges(changes: SimpleChanges) {
console.log(changes);
}
ngOnInit(): void {
this.subs.push(this.route.params.map((params: Params) => params.id)
.subscribe((id: string) => {
@@ -105,6 +101,5 @@ export class CollectionPageComponent implements OnChanges, OnInit, OnDestroy {
this.ref.detectChanges();
}
}));
}
}