mirror of
https://github.com/muerwre/orchidmap-front.git
synced 2025-04-25 02:56:41 +07:00
routes: distance filter disabled in some cases
This commit is contained in:
parent
8248d9f166
commit
008acbbfd7
2 changed files with 2 additions and 1 deletions
|
@ -90,6 +90,7 @@ class Component extends React.Component<Props> {
|
|||
onChange={this.props.searchSetDistance}
|
||||
defaultValue={distance}
|
||||
pushable={20}
|
||||
disabled={list.length === 0 || min >= max}
|
||||
/>
|
||||
|
||||
</div>
|
||||
|
|
|
@ -227,7 +227,7 @@ export const INITIAL_STATE = {
|
|||
author: '',
|
||||
tab: 'mine',
|
||||
min: 0,
|
||||
max: 300,
|
||||
max: 0,
|
||||
}
|
||||
},
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue