forked from cerc-io/cosmos-explorer
add alert for sale
This commit is contained in:
parent
1e3bc9cf22
commit
a198e3c281
@ -28,6 +28,14 @@
|
||||
{{ type === 0 ? target: base }}
|
||||
</b-input-group-append>
|
||||
</b-input-group>
|
||||
<b-alert
|
||||
variant="danger"
|
||||
:show="type === 1 && amount > available"
|
||||
>
|
||||
<div class="alert-body">
|
||||
Insufficient available amount
|
||||
</div>
|
||||
</b-alert>
|
||||
</b-form-group>
|
||||
<b-form-group>
|
||||
<label for="total">
|
||||
@ -47,7 +55,7 @@
|
||||
</b-input-group>
|
||||
<b-alert
|
||||
variant="danger"
|
||||
:show="total > available"
|
||||
:show="type === 0 && total > available"
|
||||
>
|
||||
<div class="alert-body">
|
||||
Insufficient available amount
|
||||
|
Loading…
Reference in New Issue
Block a user