mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 10:04:11 +00:00
68346: edit-bitstream-page onCancel
This commit is contained in:
@@ -494,6 +494,13 @@ export class EditBitstreamPageComponent implements OnInit, OnDestroy {
|
||||
this.bitstream.metadata = newMetadata;
|
||||
}
|
||||
|
||||
/**
|
||||
* Cancel the form and return to the previous page
|
||||
*/
|
||||
onCancel() {
|
||||
this.location.back();
|
||||
}
|
||||
|
||||
/**
|
||||
* Unsubscribe from open subscriptions
|
||||
*/
|
||||
|
Reference in New Issue
Block a user