Skip to content

Commit

Permalink
πŸ‘” Block Stripe Connect button if no Liker ID (#222)
Browse files Browse the repository at this point in the history
* πŸ‘” Block stripe connect button if no liker id

* Update pages/nft-book-store/user/index.vue
  • Loading branch information
williamchong authored Nov 1, 2024
1 parent 1ae580c commit 0f56a9b
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions pages/nft-book-store/user/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,14 @@
size="lg"
@click="onLoginToStripe"
/>
<UButton
v-else-if="!userLikerInfo?.user"
label="Setup your ID"
size="lg"
rel="noopener"
target="_blank"
:to="`${LIKE_CO_HOST}/in/register`"
/>
<UButton
v-else
label="Setup Stripe Payment Recipient Account"
Expand Down

0 comments on commit 0f56a9b

Please sign in to comment.