mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-30 12:11:56 +00:00
only load if not exists
This commit is contained in:
committed by
Aiden McClelland
parent
adbcfb0117
commit
1eeffc0bf8
@@ -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