move filter submit button to right (as according to design sheet)

This commit is contained in:
b1ek 2023-05-11 23:47:23 +10:00
parent 2ff0851d60
commit 69c66d943a
Signed by: blek
GPG Key ID: 14546221E3595D0C
1 changed files with 16 additions and 14 deletions

View File

@ -317,6 +317,7 @@ const FiltersForm = (props) => {
</SearchBarText>
</SearchBarFilter>
<div style={{float: 'right'}}>
<SubmitBtn onClick={onSumbit} disabled={props.loading}>
{
props.loading ?
@ -330,6 +331,7 @@ const FiltersForm = (props) => {
</>
}
</SubmitBtn>
</div>
</FiltersEl>
);
}
@ -346,7 +348,7 @@ export default class IndexPage extends React.Component {
page: 0,
data_loaded: false,
load_err: false,
loading_filters: false
loading_filters: true
};
ApartamentService.getAll(100).then(data => {