Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
foreach($bundle->getAppIdentifiers() as $identifier) {
foreach($this->allApps as &$app) {
if($app['id'] === $identifier) {
- $app['bundleId'] = $bundle->getIdentifier();
+ $app['bundleIds'][] = $bundle->getIdentifier();
continue;
}
}
bundleApps() {
return function(bundle) {
return this.$store.getters.getAllApps
- .filter(app => app.bundleId === bundle)
+ .filter(app => {
+ return app.bundleIds !== undefined && app.bundleIds.includes(bundle)
+ })
}
},
searchApps() {