only load if not exists

This commit is contained in:
Drew Ansbacher
2021-09-27 11:27:19 -06:00
committed by Matt Hill
parent 83247b4548
commit 7af51c588d

View File

@@ -36,6 +36,8 @@ export class MarketplaceService {
}
async getAllPkgs (): Promise<void> {
if (this.allPkgs.length) return
this.allPkgs = await this.getPkgs(
undefined,
null,