Final PR comment.
This commit is contained in:
parent
a8ff2da768
commit
4e1aa4fbbd
|
@ -16,13 +16,7 @@ export function filterAppList(user: ContextUser, apps: App[]) {
|
|||
} else {
|
||||
return apps
|
||||
}
|
||||
const finalApps: App[] = []
|
||||
for (let app of apps) {
|
||||
if (appList.includes(dbCore.getProdAppID(app.appId))) {
|
||||
finalApps.push(app)
|
||||
}
|
||||
}
|
||||
return finalApps
|
||||
return apps.filter(app => appList.includes(dbCore.getProdAppID(app.appId)))
|
||||
}
|
||||
|
||||
export async function fetch(status: AppStatus, user: ContextUser) {
|
||||
|
|
Loading…
Reference in New Issue