65272: Added test cases

This commit is contained in:
Kristof De Langhe
2019-10-04 17:50:53 +02:00
parent 088304fce7
commit 7fd4b41460
5 changed files with 277 additions and 9 deletions

View File

@@ -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 '';
}
}
}