mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-18 15:33:04 +00:00
54472: Remove console logs
This commit is contained in:
@@ -52,7 +52,6 @@ export class CreateCollectionPageComponent {
|
|||||||
})))
|
})))
|
||||||
});
|
});
|
||||||
this.collectionDataService.create(collection).subscribe((rd: RemoteData<DSpaceObject>) => {
|
this.collectionDataService.create(collection).subscribe((rd: RemoteData<DSpaceObject>) => {
|
||||||
console.log(rd);
|
|
||||||
if (rd.hasSucceeded) {
|
if (rd.hasSucceeded) {
|
||||||
this.router.navigateByUrl('');
|
this.router.navigateByUrl('');
|
||||||
}
|
}
|
||||||
|
@@ -46,7 +46,6 @@ export class CreateCommunityPageComponent {
|
|||||||
})))
|
})))
|
||||||
});
|
});
|
||||||
this.communityDataService.create(community).pipe(take(1)).subscribe((rd: RemoteData<DSpaceObject>) => {
|
this.communityDataService.create(community).pipe(take(1)).subscribe((rd: RemoteData<DSpaceObject>) => {
|
||||||
console.log(rd);
|
|
||||||
if (rd.hasSucceeded) {
|
if (rd.hasSucceeded) {
|
||||||
this.router.navigateByUrl('');
|
this.router.navigateByUrl('');
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user