added tests for breadcrumbs service and component

This commit is contained in:
lotte
2020-02-26 14:44:34 +01:00
parent b4a63fccf4
commit 4ae8997ada
17 changed files with 280 additions and 29 deletions

View File

@@ -16,7 +16,7 @@ export function getItemPageRoute(itemId: string) {
}
export function getItemEditPath(id: string) {
return new URLCombiner(getItemModulePath(), ITEM_EDIT_PATH.replace(/:id/, id)).toString()
return new URLCombiner(getItemModulePath(), id, ITEM_EDIT_PATH).toString()
}
const ITEM_EDIT_PATH = 'edit';