mirror of
https://github.com/Instadapp/assembly.git
synced 2024-07-29 22:37:06 +00:00
fix
This commit is contained in:
parent
a0bb28007a
commit
55f65f8670
|
@ -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;
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue
Block a user