From 55f65f8670ed430a7a9bcb5fe586fa6620edafd4 Mon Sep 17 00:00:00 2001 From: Georges KABBOUCHI Date: Sat, 28 Aug 2021 00:48:42 +0300 Subject: [PATCH 1/2] fix --- composables/protocols/useMakerdaoPosition.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composables/protocols/useMakerdaoPosition.ts b/composables/protocols/useMakerdaoPosition.ts index b6da639..d6c1394 100644 --- a/composables/protocols/useMakerdaoPosition.ts +++ b/composables/protocols/useMakerdaoPosition.ts @@ -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; } }; From fe8e9a7e70d88eba9bced5ebd2b19a4e68e596ff Mon Sep 17 00:00:00 2001 From: Georges KABBOUCHI Date: Sat, 28 Aug 2021 17:38:58 +0300 Subject: [PATCH 2/2] Update index.vue --- pages/index.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pages/index.vue b/pages/index.vue index a9d0b0f..e0b3ea3 100644 --- a/pages/index.vue +++ b/pages/index.vue @@ -59,7 +59,7 @@ const appsPerNetwork = { icon: MakerIcon, name: "MakerDAO", url: "/mainnet/maker", - description: "Collateralized Debt" + description: "Collateralized DAI Debt" }, { id: "1inch", @@ -73,7 +73,7 @@ const appsPerNetwork = { icon: LiquityIcon, name: "Liquity", url: "/mainnet/liquity", - description: "Collateralized Debt" + description: "Collateralized LUSD Debt" } ], polygon: [