Fix optional has package check/
This commit is contained in:
parent
8d3c098f4e
commit
8c49965df8
@ -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> {
|
||||
|
Loading…
Reference in New Issue
Block a user