This commit is contained in:
Georges KABBOUCHI 2021-08-30 00:03:34 +03:00
parent c5b19fe4f6
commit 4f2ea1cb68
3 changed files with 6 additions and 4 deletions

View File

@ -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();
} }

View File

@ -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();
} }

View File

@ -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 =>