All apps in DB are installed by default

This commit is contained in:
zomars 2022-05-05 16:18:28 -06:00
parent f839fd2bb4
commit 70455f56a2

View file

@ -27,7 +27,11 @@ export async function getAppRegistry() {
// Skip if app isn't installed // Skip if app isn't installed
/* This is now handled from the DB */ /* This is now handled from the DB */
// if (!app.installed) return apps; // 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; return apps;
} }