mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-17 23:13:04 +00:00
65272: Added test cases
This commit is contained in:
@@ -34,7 +34,11 @@ export class EditItemTemplatePageComponent implements OnInit {
|
||||
* @param collection
|
||||
*/
|
||||
getCollectionEditUrl(collection: Collection): string {
|
||||
return getCollectionEditPath(collection.uuid);
|
||||
if (collection) {
|
||||
return getCollectionEditPath(collection.uuid);
|
||||
} else {
|
||||
return '';
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user