fix(paywall): disable create button when an invoice already exists

This commit is contained in:
Eneko Illarramendi 2020-05-09 22:52:30 +02:00
parent 8add56a24c
commit 41277e6931

View File

@ -19,7 +19,7 @@
:hint="'Minimum ' + paywallAmount + ' sat'"
>
<template v-slot:after>
<q-btn round dense flat icon="check" color="deep-purple" type="submit" @click="createInvoice" :disabled="userAmount < paywallAmount"></q-btn>
<q-btn round dense flat icon="check" color="deep-purple" type="submit" @click="createInvoice" :disabled="userAmount < paywallAmount || paymentReq"></q-btn>
</template>
</q-input>
</q-form>