All apps in DB are installed by default
This commit is contained in:
		
							parent
							
								
									af9612968b
								
							
						
					
					
						commit
						82dfd807c8
					
				
					 1 changed files with 5 additions and 1 deletions
				
			
		|  | @ -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; | ||||||
| } | } | ||||||
|  |  | ||||||
		Loading…
	
		Reference in a new issue
	
	 zomars
						zomars