From 82dfd807c809b67ff64a8bd668cccd806a9d62fa Mon Sep 17 00:00:00 2001 From: zomars Date: Thu, 5 May 2022 16:18:28 -0600 Subject: [PATCH] All apps in DB are installed by default --- packages/app-store/_appRegistry.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/packages/app-store/_appRegistry.ts b/packages/app-store/_appRegistry.ts index 4710649c7b..cbb50db14a 100644 --- a/packages/app-store/_appRegistry.ts +++ b/packages/app-store/_appRegistry.ts @@ -27,7 +27,11 @@ export async function getAppRegistry() { // Skip if app isn't installed /* This is now handled from the DB */ // if (!app.installed) return apps; - apps.push(app); + apps.push({ + ...app, + installed: + true /* All apps from DB are considered installed by default. @TODO: Add and filter our by `enabled` property */, + }); } return apps; }