Skip to content

Commit caa2c86

Browse files
committed
Mail to style change on insufficient liquidity flow
1 parent 9e8854b commit caa2c86

File tree

4 files changed

+7
-6
lines changed

4 files changed

+7
-6
lines changed

src/pegin/components/create/PegInForm.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,13 +43,13 @@
4343
<v-row no-gutters v-if="flyoverIsEnabled && peginQuotes.length === 0">
4444
<pegin-option-card :option-type="peginType.FLYOVER" flyover-not-available>
4545
<template v-slot>
46-
<h4 v-if="countdown === recaptchanNewTokenTime">
46+
<h4 v-if="countdown === recaptchanNewTokenTime && enoughFlyoverLiquidity">
4747
<span class="text-orange">Fast Mode</span> no quotes available for this amount.
4848
</h4>
4949
<h4 v-else-if="!enoughFlyoverLiquidity">
5050
<span class="text-orange">Fast Mode</span>
5151
There is not enough liquidity for this amount.
52-
<a href="mailto:support@rootstocklabs.com?subject=Liquidity Provider Issue">
52+
<a href="mailto:flyover@rootstocklabs.com?subject=Insufficient Liquidity">
5353
Contact support</a> if you want to use the fast mode.
5454
</h4>
5555
</template>

src/pegin/components/create/PeginOptionCard.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<template>
2-
<v-card :ripple="false" :disabled="flyoverNotAvailable"
2+
<v-card :ripple="false"
33
@click="selectOption" rounded="lg" flat variant="outlined"
44
:class="{
55
'selected': selected,

src/pegout/components/PegoutForm.vue

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,13 +34,14 @@
3434
v-if="!flyoverIsEnabled || (pegoutQuotes.length === 0 && enoughFlyoverLiquidity)">
3535
<pegout-option :option-type="pegoutType.FLYOVER" flyover-not-available>
3636
<template v-slot>
37-
<h4 v-if="countdown === recaptchanNewTokenTime">
37+
<h4 v-if="countdown === recaptchanNewTokenTime && enoughFlyoverLiquidity">
3838
<span class="text-orange">Fast Mode</span> is unavailable at this time.
3939
</h4>
4040
<h4 v-else-if="!enoughFlyoverLiquidity">
4141
<span class="text-orange">Fast Mode</span>
4242
There is not enough liquidity for this amount.
43-
<a href="mailto:support@rootstocklabs.com?subject=Liquidity Provider Issue">
43+
<a style="text-decoration: underline; z-index: 99999;"
44+
href="mailto:flyover@rootstocklabs.com?subject=Insufficient Liquidity">
4445
Contact support</a> if you want to use the fast mode.
4546
</h4>
4647
<h4 v-else>

src/pegout/components/PegoutOption.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<template>
22
<v-card :ripple="false" rounded="lg" flat variant="outlined"
3-
@click="selectOption" :disabled="flyoverNotAvailable"
3+
@click="selectOption"
44
:class="{ 'selected': selectedOption, 'not-available': flyoverNotAvailable }"
55
class="d-flex flex-column ga-4 pa-6 fill-height w-100">
66
<div v-if="flyoverNotAvailable"

0 commit comments

Comments
 (0)