mirror of
https://github.com/Instadapp/assembly.git
synced 2024-07-29 22:37:06 +00:00
fixes
This commit is contained in:
parent
c5b19fe4f6
commit
4f2ea1cb68
|
@ -164,6 +164,8 @@ export default defineComponent({
|
||||||
onReceipt: async receipt => {
|
onReceipt: async receipt => {
|
||||||
showConfirmedTransaction(receipt.transactionHash);
|
showConfirmedTransaction(receipt.transactionHash);
|
||||||
|
|
||||||
|
isNewVault.value = false;
|
||||||
|
|
||||||
await fetchBalances(true);
|
await fetchBalances(true);
|
||||||
await fetchPosition();
|
await fetchPosition();
|
||||||
}
|
}
|
||||||
|
|
|
@ -163,7 +163,7 @@ export default defineComponent({
|
||||||
from: account.value,
|
from: account.value,
|
||||||
onReceipt: async receipt => {
|
onReceipt: async receipt => {
|
||||||
showConfirmedTransaction(receipt.transactionHash);
|
showConfirmedTransaction(receipt.transactionHash);
|
||||||
|
isNewSafe.value = false
|
||||||
await fetchBalances(true);
|
await fetchBalances(true);
|
||||||
await fetchPosition();
|
await fetchPosition();
|
||||||
}
|
}
|
||||||
|
|
|
@ -110,7 +110,7 @@ export function useReflexerPosition(
|
||||||
|
|
||||||
const debt = computed(() => ensureValue(safe.value.debt).toFixed());
|
const debt = computed(() => ensureValue(safe.value.debt).toFixed());
|
||||||
const minDebt = computed(
|
const minDebt = computed(
|
||||||
() => safeTypes.value[0]?.totalFloor?.toString() || "5000"
|
() => safeTypes.value[0]?.totalFloor?.toString() || "699"
|
||||||
);
|
);
|
||||||
const debtCeilingReached = computed(() =>
|
const debtCeilingReached = computed(() =>
|
||||||
safeTypes.value?.some(v =>
|
safeTypes.value?.some(v =>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user