• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

geosolutions-it / MapStore2 / 19710972030

26 Nov 2025 03:38PM UTC coverage: 76.665% (-0.3%) from 76.929%
19710972030

Pull #11119

github

web-flow
Fix maven publish (#11739)
Pull Request #11119: Layer Selection Plugin on ArcGIS, WFS & WMS layers

32272 of 50209 branches covered (64.28%)

3 of 3 new or added lines in 2 files covered. (100.0%)

3018 existing lines in 249 files now uncovered.

40157 of 52380 relevant lines covered (76.66%)

37.9 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

40.0
/web/client/components/search/SearchBarToolbar.jsx
1
/*
2
 * Copyright 2020, GeoSolutions Sas.
3
 * All rights reserved.
4
 *
5
 * This source code is licensed under the BSD-style license found in the
6
 * LICENSE file in the root directory of this source tree.
7
*/
8

9
import React from 'react';
10
import Spinner from 'react-spinkit';
11

12
import Toolbar from '../misc/toolbar/Toolbar';
13

14
const getSpinnerStyle = (splitTools) => {
1✔
UNCOV
15
    const nonSplittedStyle = {
×
16
        right: "69px",
17
        zIndex: 1,
18
        top: "13px"
19
    };
UNCOV
20
    const splittedStyle = {
×
21
        right: "69px",
22
        zIndex: 1,
23
        top: "13px"
24
    };
UNCOV
25
    return Object.assign({}, {position: "absolute"}, splitTools ? {...splittedStyle} : {...nonSplittedStyle});
×
26
};
27

28
export default ({
29
    loading,
30
    splitTools,
31
    toolbarProps = {},
45✔
32
    toolbarButtons = [],
×
33
    children
34
}) => <span className="search-toolbar-options">
45✔
35
    {loading && <Spinner style={getSpinnerStyle(splitTools)} spinnerName="pulse" noFadeIn/>}
45!
36
    <Toolbar
37
        btnGroupProps = {{ className: 'btn-group-menu-options'}}
38
        transitionProps = {null}
39
        btnDefaultProps = {{ className: 'square-button-md', bsStyle: 'primary' }}
40
        {...toolbarProps}
41
        buttons={toolbarButtons}/>
42
    {children}
43
</span>;
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc