move filter submit button to right (as according to design sheet)
This commit is contained in:
parent
2ff0851d60
commit
69c66d943a
|
@ -317,6 +317,7 @@ const FiltersForm = (props) => {
|
||||||
</SearchBarText>
|
</SearchBarText>
|
||||||
</SearchBarFilter>
|
</SearchBarFilter>
|
||||||
|
|
||||||
|
<div style={{float: 'right'}}>
|
||||||
<SubmitBtn onClick={onSumbit} disabled={props.loading}>
|
<SubmitBtn onClick={onSumbit} disabled={props.loading}>
|
||||||
{
|
{
|
||||||
props.loading ?
|
props.loading ?
|
||||||
|
@ -330,6 +331,7 @@ const FiltersForm = (props) => {
|
||||||
</>
|
</>
|
||||||
}
|
}
|
||||||
</SubmitBtn>
|
</SubmitBtn>
|
||||||
|
</div>
|
||||||
</FiltersEl>
|
</FiltersEl>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
@ -346,7 +348,7 @@ export default class IndexPage extends React.Component {
|
||||||
page: 0,
|
page: 0,
|
||||||
data_loaded: false,
|
data_loaded: false,
|
||||||
load_err: false,
|
load_err: false,
|
||||||
loading_filters: false
|
loading_filters: true
|
||||||
};
|
};
|
||||||
|
|
||||||
ApartamentService.getAll(100).then(data => {
|
ApartamentService.getAll(100).then(data => {
|
||||||
|
|
Loading…
Reference in New Issue