Merge branch 'master' into reflexer

This commit is contained in:
Georges KABBOUCHI 2021-08-28 17:39:57 +03:00
commit bf6b3e8000
2 changed files with 4 additions and 4 deletions

View File

@ -127,7 +127,7 @@ export function useMakerdaoPosition(
return;
}
vaults.value = await getVaults(activeAccount.value.address, web3.value);
if (vaults.value.length > 0) {
if (vaults.value.length > 0 && !vaultId.value) {
vaultId.value = vaults.value[0].id;
}
};

View File

@ -60,7 +60,7 @@ const appsPerNetwork = {
icon: MakerIcon,
name: "MakerDAO",
url: "/mainnet/maker",
description: "Collateralized Debt"
description: "Collateralized DAI Debt"
},
{
id: "1inch",
@ -74,14 +74,14 @@ const appsPerNetwork = {
icon: LiquityIcon,
name: "Liquity",
url: "/mainnet/liquity",
description: "Collateralized Debt"
description: "Collateralized LUSD Debt"
},
{
id: "reflexer",
icon: ReflexerIcon,
name: "Reflexer Finance",
url: "/mainnet/reflexer",
description: "Collateralized Debt"
description: "Collateralized RAI Debt"
}
],
polygon: [