mirror of
https://github.com/status-im/nft-faucet.git
synced 2025-02-22 11:38:26 +00:00
Add disabling Mint button if DestinationAddress is null or empty
This commit is contained in:
parent
2d151db33e
commit
73cbdd7c52
@ -77,6 +77,6 @@
|
||||
<RadzenNumeric TValue="int" Min="1" Max="100000" @bind-Value="@AppState.Storage.TokenAmount" Class="w-100" />
|
||||
</div>
|
||||
}
|
||||
<RadzenButton Text="Mint" Click="@(async () => await Mint())" />
|
||||
<RadzenButton Text="Mint" Disabled="@string.IsNullOrEmpty(AppState.Storage.DestinationAddress)" Click="@(async () => await Mint())" />
|
||||
}
|
||||
</RadzenContent>
|
||||
|
Loading…
x
Reference in New Issue
Block a user