mirror of
https://dev.azure.com/hugendubel/ISA/_git/ISA-Frontend
synced 2025-12-31 09:37:15 +01:00
fixed bug at breadcrumb
This commit is contained in:
@@ -109,7 +109,8 @@ export class ProductDetailsComponent implements OnInit {
|
||||
|
||||
// specs object mapping
|
||||
if (item.sp) {
|
||||
author = item.sp.find(s => s.key === this.AUTOR).value;
|
||||
author = item.sp.find(s => s.key === this.AUTOR) ?
|
||||
item.sp.find(s => s.key === this.AUTOR).value : 'missing';
|
||||
title = item.sp.find(s => s.key === this.TITLE).value;
|
||||
}
|
||||
|
||||
|
||||
@@ -93,7 +93,7 @@ export class AddBreadcrumb {
|
||||
}
|
||||
|
||||
export class UpdateBreadcrump {
|
||||
static readonly type = ADD_BREADCRUMB;
|
||||
static readonly type = UPDATE_BREADCRUMB;
|
||||
|
||||
constructor(public payload: Breadcrumb) {}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user