Skip to content

Commit cff9687

Browse files
committed
fix
1 parent b1c57dc commit cff9687

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/services/AppService.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,10 @@ export default class AppService {
4848
url:'',
4949
};
5050

51-
const dappData = await AppService.getFlatApps();
51+
const dappData = await AppService.getFlatApps().then(res => res.reduce((acc,x) => {
52+
acc[x.applink] = x;
53+
return acc;
54+
}, {}));
5255
let found = dappData[origin];
5356

5457
if(!found){

0 commit comments

Comments
 (0)