Skip to content

Commit

Permalink
fix: disable send button while getting quotes
Browse files Browse the repository at this point in the history
  • Loading branch information
annipi committed Nov 20, 2024
1 parent 750e942 commit dadbd10
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions src/common/styles/_utilities.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,8 @@

.text-balance {
text-wrap: balance;
}

.grecaptcha-badge {
bottom:70px !important;
}
4 changes: 2 additions & 2 deletions src/pegout/components/PegoutForm.vue
Original file line number Diff line number Diff line change
Expand Up @@ -283,8 +283,8 @@ export default defineComponent({
}));
const isValid = computed(() => {
if (selectedQuote.value === undefined) return isReadyToCreate.value;
return isFlyoverReady.value;
if (selectedQuote.value === undefined) return !loadingQuotes.value && isReadyToCreate.value;
return !loadingQuotes.value && isFlyoverReady.value;
});
const flyoverResponded = computed(() => pegoutQuotes.value.length > 0 || props.flyoverEnabled);
Expand Down
2 changes: 1 addition & 1 deletion src/pegout/components/PegoutOption.vue
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@
<template v-else>
<v-text-field
:v-model="session.btcDerivedAddress || 'Address needs to be generated'"
flat
flat readonly
hide-details
density="compact"
rounded="lg"
Expand Down

0 comments on commit dadbd10

Please sign in to comment.