diff --git a/projects/common-map/src/fm-map/components/selected-item-temporal/selected-item-temporal.component.html b/projects/common-map/src/fm-map/components/selected-item-temporal/selected-item-temporal.component.html
index 49d084c..e7609a6 100644
--- a/projects/common-map/src/fm-map/components/selected-item-temporal/selected-item-temporal.component.html
+++ b/projects/common-map/src/fm-map/components/selected-item-temporal/selected-item-temporal.component.html
@@ -4,7 +4,7 @@
diff --git a/projects/common-map/src/fm-map/components/selected-item/selected-item.component.ts b/projects/common-map/src/fm-map/components/selected-item/selected-item.component.ts
index 88efef2..9258ab7 100644
--- a/projects/common-map/src/fm-map/components/selected-item/selected-item.component.ts
+++ b/projects/common-map/src/fm-map/components/selected-item/selected-item.component.ts
@@ -62,6 +62,10 @@ export abstract class AbstractSelectedItemComponent {
this.location.back();
}
+ parentOfItemType(itemType:string):boolean {
+ if(this.parentItem && this.parentItem.itemType == itemType) return true;
+ return false;
+ }
}
@Injectable()