Fix optional has package check/

This commit is contained in:
Peter Bastiani 2021-08-04 12:05:02 +02:00
parent 8d3c098f4e
commit 8c49965df8

View File

@ -28,7 +28,7 @@ export class PackageService {
hasPackage(id:string):boolean {
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> {