From 69c66d943addd76dfb1aa7ec43ebe81fc8e39c88 Mon Sep 17 00:00:00 2001 From: b1ek Date: Thu, 11 May 2023 23:47:23 +1000 Subject: [PATCH] move filter submit button to right (as according to design sheet) --- .../src/pages/IndexPage/index.jsx | 30 ++++++++++--------- 1 file changed, 16 insertions(+), 14 deletions(-) diff --git a/pairent_frontend_react/src/pages/IndexPage/index.jsx b/pairent_frontend_react/src/pages/IndexPage/index.jsx index 1406508..ad129b9 100644 --- a/pairent_frontend_react/src/pages/IndexPage/index.jsx +++ b/pairent_frontend_react/src/pages/IndexPage/index.jsx @@ -317,19 +317,21 @@ const FiltersForm = (props) => { - - { - props.loading ? - <> - - Загрузка данных... - : - <> - - Показать варианты - - } - +
+ + { + props.loading ? + <> + + Загрузка данных... + : + <> + + Показать варианты + + } + +
); } @@ -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 => {