Skip to content

Commit

Permalink
fix: warning message on empty accounts
Browse files Browse the repository at this point in the history
  • Loading branch information
preschian committed Jan 27, 2025
1 parent 764db7d commit f546e9d
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions components/common/ConnectWallet/WalletMenuItem.vue
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,25 @@
</a>
</div>
</div>

<div
v-if="walletAccountsWithProfile.length === 0 && showAccountList"
class="account-list"
>
<div class="account-item">
<a
href="#!"
class="pl-5 block"
>
<span class="block mb-2 text-sm">
<NeoIcon
icon="circle-info"
class="mr-2"
/>No Polkadot Accounts Found</span>
<span class="block text-k-grey text-xs">To Continue, Please Create or Import Accounts in {{ wallet.name }}</span>
</a>
</div>
</div>
</div>
</template>

Expand Down

0 comments on commit f546e9d

Please sign in to comment.