Fix build
FarmMaps.Develop/FarmMapsLib/pipeline/head This commit looks good
Details
FarmMaps.Develop/FarmMapsLib/pipeline/head This commit looks good
Details
parent
9ac534c171
commit
60ed2afaa4
|
@ -60,6 +60,7 @@ export abstract class AbstractSelectedItemComponent {
|
|||
event.preventDefault();
|
||||
this.location.back();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@Injectable()
|
||||
|
@ -73,4 +74,8 @@ export class SelectedItemComponent extends AbstractSelectedItemComponent {
|
|||
constructor(store: Store<mapReducers.State | commonReducers.State>, itemTypeService: ItemTypeService, location: Location, router: Router, public config:AppConfig) {
|
||||
super(store, itemTypeService,location,router);
|
||||
}
|
||||
|
||||
getThumbnailUrl(item:IItem):string {
|
||||
return this.config.getConfig('apiEndPoint') +'/api/v1/items/'+item.code+'/thumbnail?v=' + Date.parse(item.updated);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue