only load if not exists

This commit is contained in:
Drew Ansbacher
2021-09-27 11:27:19 -06:00
committed by Aiden McClelland
parent adbcfb0117
commit 1eeffc0bf8

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,