mirror of
https://github.com/basicswap/basicswap.git
synced 2025-01-03 17:29:26 +00:00
ui: Fix bid state filter selection.
This commit is contained in:
parent
146698425d
commit
1694e73f92
1 changed files with 1 additions and 1 deletions
|
@ -461,7 +461,7 @@ class HttpHandler(BaseHTTPRequestHandler):
|
||||||
ensure(sort_dir in ['asc', 'desc'], 'Invalid sort dir')
|
ensure(sort_dir in ['asc', 'desc'], 'Invalid sort dir')
|
||||||
filters['sort_dir'] = sort_dir
|
filters['sort_dir'] = sort_dir
|
||||||
if have_data_entry(form_data, 'state'):
|
if have_data_entry(form_data, 'state'):
|
||||||
state_ind = get_data_entry(form_data, 'state')
|
state_ind = int(get_data_entry(form_data, 'state'))
|
||||||
if state_ind != -1:
|
if state_ind != -1:
|
||||||
try:
|
try:
|
||||||
state = BidStates(state_ind)
|
state = BidStates(state_ind)
|
||||||
|
|
Loading…
Reference in a new issue