Skip to content

Commit

Permalink
Fix geosolutions-it#9594 advanced search buttons style fix (geosoluti…
Browse files Browse the repository at this point in the history
…ons-it#9595)

* Fixed advanced search button

* Fixed save loading spinner
  • Loading branch information
offtherailz authored Oct 13, 2023
1 parent 6fa49cf commit 608cd5c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions web/client/components/catalog/CatalogServiceEditor.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* LICENSE file in the root directory of this source tree.
*/
import React, {useState} from 'react';
import Spinner from "react-spinkit";
import Loader from '../misc/Loader';

import { FormGroup, Form, Col } from "react-bootstrap";

Expand Down Expand Up @@ -93,7 +93,7 @@ export default ({
<FormGroup controlId="buttons" key="buttons">
<Col xs={12}>
<Button style={buttonStyle} disabled={saving || !valid} onClick={() => onAddService()} key="catalog_add_service_button">
{saving ? <Spinner spinnerName="circle" noFadeIn overrideSpinnerClassName="spinner" /> : null}
{saving ? <Loader size={12} style={{display: 'inline-block'}} /> : null}
<Message msgId="save" />
</Button>
{service && !service.isNew
Expand Down
2 changes: 1 addition & 1 deletion web/client/components/misc/switch/SwitchToolbar.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ class SwitchToolbar extends React.Component {
}}
btnGroupProps={{
style: {
margin: 10
margin: 5
}
}}
buttons={[
Expand Down

0 comments on commit 608cd5c

Please sign in to comment.