Skip to content

Commit

Permalink
no royalty icon if wrong refer code
Browse files Browse the repository at this point in the history
  • Loading branch information
wizicer committed Apr 13, 2024
1 parent 25f4bf5 commit 96f12c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Search.vue
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
></a>
</p>
<p v-else class="card-header-title break-all">{{ cnsName }}</p>
<span v-if="referCode" class="has-text-info is-pulled-right mt-2 mx-3" :title="royaltyAddress"
<span v-if="referCode && royaltyAddress" class="has-text-info is-pulled-right mt-2 mx-3" :title="royaltyAddress"
><i class="mdi mdi-storefront mdi-18px mx-1"></i>{{ referCode }}</span
>
</header>
Expand Down

0 comments on commit 96f12c9

Please sign in to comment.