Browse Source

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

Login
Eneko Illarramendi 5 years ago
parent
commit
41277e6931
  1. 2
      lnbits/extensions/paywall/templates/paywall/display.html

2
lnbits/extensions/paywall/templates/paywall/display.html

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

Loading…
Cancel
Save