Skip to content

Commit 5dd9c34

Browse files
committed
update version and lint fix
1 parent 831298a commit 5dd9c34

File tree

2 files changed

+9
-5
lines changed

2 files changed

+9
-5
lines changed

nerdlets/e2m-gui-nerdlet/form-components/aggregator-selector.js

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,11 @@ import PropTypes from 'prop-types';
33

44
import { RadioGroup, Radio } from 'nr1';
55

6-
const AggregatorSelector = ({ setAggregator, selectedEventType, selectedAggregator }) => {
6+
const AggregatorSelector = ({
7+
setAggregator,
8+
selectedEventType,
9+
selectedAggregator
10+
}) => {
711
/* TODO: Pull the disabledOrNotObj out to AddRule Component */
812
const disabledOrNotObj = !selectedEventType ? { disabled: true } : {};
913
return (
@@ -12,21 +16,21 @@ const AggregatorSelector = ({ setAggregator, selectedEventType, selectedAggregat
1216
{...disabledOrNotObj}
1317
label="Summary--use if the query's function is min, max, sum, count, or average"
1418
value="summary"
15-
checked={selectedAggregator == 'summary'}
19+
checked={selectedAggregator === 'summary'}
1620
onClick={() => setAggregator('summary')}
1721
/>
1822
<Radio
1923
{...disabledOrNotObj}
2024
label="Distribution--use if the query's function is percentile or histogram"
2125
value="distribution"
22-
checked={selectedAggregator == 'distribution'}
26+
checked={selectedAggregator === 'distribution'}
2327
onClick={() => setAggregator('distribution')}
2428
/>
2529
<Radio
2630
{...disabledOrNotObj}
2731
label="Unique Count--use if the query's function is unique count"
2832
value="uniqueCount"
29-
checked={selectedAggregator == 'uniqueCount'}
33+
checked={selectedAggregator === 'uniqueCount'}
3034
onClick={() => setAggregator('uniqueCount')}
3135
/>
3236
</RadioGroup>

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"Peter Simkins <psimkins@newrelic.com>",
1010
"Ward Cunningham <ward@newrelic.com>"
1111
],
12-
"version": "0.13.1",
12+
"version": "0.13.2",
1313
"scripts": {
1414
"start": "nr1 nerdpack:serve",
1515
"test": "exit 0",

0 commit comments

Comments
 (0)