show one faucet in menu

This commit is contained in:
liangping 2024-06-01 17:23:30 +08:00
parent 0ae8de3846
commit c6016ea047

View File

@ -181,7 +181,7 @@ dayjs()
</div>
</RouterLink>
</div>
<div v-if="dashboard.networkType === NetworkType.Testnet" class="menu bg-base-100 w-full !p-0">
<div v-if="index === 0 && dashboard.networkType === NetworkType.Testnet" class="menu bg-base-100 w-full !p-0">
<RouterLink
class="hover:bg-gray-100 dark:hover:bg-[#373f59] rounded cursor-pointer px-3 py-2 flex items-center"
:to="`/${blockchain.chainName}/faucet`">