mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-15 14:03:06 +00:00
[TLC-380] WIP trying new routing / create flow
This commit is contained in:
@@ -82,13 +82,13 @@ export class ItemRegisterDoiComponent extends AbstractSimpleItemActionComponent
|
||||
*/
|
||||
registerDoi() {
|
||||
this.processing = true;
|
||||
this.itemDataService.registerDOI(this.item.id).pipe(getFirstCompletedRemoteData()).subscribe(
|
||||
this.identifierDataService.registerIdentifier(this.item, 'doi').subscribe(
|
||||
(response: RemoteData<Item>) => {
|
||||
this.processing = false;
|
||||
//this.router.navigateByUrl(getItemEditRoute(this.item));
|
||||
this.processRestResponse(response);
|
||||
}
|
||||
);
|
||||
)
|
||||
}
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user