Only show prent namewhen of type ..cropfield
All checks were successful
FarmMaps.Develop/FarmMapsLib/pipeline/head This commit looks good
All checks were successful
FarmMaps.Develop/FarmMapsLib/pipeline/head This commit looks good
This commit is contained in:
@@ -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()
|
||||
|
Reference in New Issue
Block a user