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