Compare commits

..

2 Commits

Author SHA1 Message Date
ff018d9db1 Merge branch 'develop' of https://git.akkerweb.nl/FarmMaps/FarmMapsLib into develop
All checks were successful
FarmMaps.Develop/FarmMapsLib/pipeline/head This commit looks good
2021-08-04 12:05:09 +02:00
8c49965df8 Fix optional has package check/ 2021-08-04 12:05:02 +02:00

View File

@ -28,7 +28,7 @@ export class PackageService {
hasPackage(id:string):boolean { hasPackage(id:string):boolean {
if(!this.packages$[id]) return false; if(!this.packages$[id]) return false;
return this.packages$[id].enabled == true; return this.packages$[id].enabled ? this.packages$[id].enabled == true : true;
} }
postItemPackageTask(item: IItem, task: IItemTask): Observable<IItemTask> { postItemPackageTask(item: IItem, task: IItemTask): Observable<IItemTask> {