mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-30 20:14:49 +00:00
only load if not exists
This commit is contained in:
committed by
Matt Hill
parent
83247b4548
commit
7af51c588d
@@ -36,6 +36,8 @@ export class MarketplaceService {
|
|||||||
}
|
}
|
||||||
|
|
||||||
async getAllPkgs (): Promise<void> {
|
async getAllPkgs (): Promise<void> {
|
||||||
|
if (this.allPkgs.length) return
|
||||||
|
|
||||||
this.allPkgs = await this.getPkgs(
|
this.allPkgs = await this.getPkgs(
|
||||||
undefined,
|
undefined,
|
||||||
null,
|
null,
|
||||||
|
|||||||
Reference in New Issue
Block a user