mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 01:54:15 +00:00
Merged in CST-12908-remove-console-log (pull request #1109)
remove console logs Approved-by: Stefano Maffei
This commit is contained in:
@@ -145,7 +145,6 @@ export class QualityAssuranceEventsComponent implements OnInit, OnDestroy {
|
|||||||
return this.getQualityAssuranceEvents();
|
return this.getQualityAssuranceEvents();
|
||||||
})
|
})
|
||||||
).subscribe((events: QualityAssuranceEventData[]) => {
|
).subscribe((events: QualityAssuranceEventData[]) => {
|
||||||
console.log(events);
|
|
||||||
this.eventsUpdated$.next(events);
|
this.eventsUpdated$.next(events);
|
||||||
this.isEventPageLoading.next(false);
|
this.isEventPageLoading.next(false);
|
||||||
});
|
});
|
||||||
@@ -361,7 +360,6 @@ export class QualityAssuranceEventsComponent implements OnInit, OnDestroy {
|
|||||||
if (rd.hasSucceeded) {
|
if (rd.hasSucceeded) {
|
||||||
this.totalElements$.next(rd.payload.totalElements);
|
this.totalElements$.next(rd.payload.totalElements);
|
||||||
if (rd.payload.totalElements > 0) {
|
if (rd.payload.totalElements > 0) {
|
||||||
console.log(rd.payload.page);
|
|
||||||
return this.fetchEvents(rd.payload.page);
|
return this.fetchEvents(rd.payload.page);
|
||||||
} else {
|
} else {
|
||||||
return of([]);
|
return of([]);
|
||||||
|
Reference in New Issue
Block a user