All apps in DB are installed by default

pull/2669/head
zomars 2022-05-05 16:18:28 -06:00
parent f839fd2bb4
commit 70455f56a2
1 changed files with 5 additions and 1 deletions

View File

@ -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;
}