diff --git a/plugins/opencost/src/components/Controls/Edit.js b/plugins/opencost/src/components/Controls/Edit.js
index 9dcd664e50..a1b3fe1fc7 100644
--- a/plugins/opencost/src/components/Controls/Edit.js
+++ b/plugins/opencost/src/components/Controls/Edit.js
@@ -15,10 +15,10 @@
*/
import { makeStyles } from '@material-ui/styles';
-import FormControl from '@material-ui/core/FormControl'
-import InputLabel from '@material-ui/core/InputLabel'
-import MenuItem from '@material-ui/core/MenuItem'
-import Select from '@material-ui/core/Select'
+import FormControl from '@material-ui/core/FormControl';
+import InputLabel from '@material-ui/core/InputLabel';
+import MenuItem from '@material-ui/core/MenuItem';
+import Select from '@material-ui/core/Select';
import React from 'react';
@@ -35,10 +35,18 @@ const useStyles = makeStyles({
});
function EditControl({
- windowOptions, window, setWindow,
- aggregationOptions, aggregateBy, setAggregateBy,
- accumulateOptions, accumulate, setAccumulate,
- currencyOptions, currency, setCurrency,
+ windowOptions,
+ window,
+ setWindow,
+ aggregationOptions,
+ aggregateBy,
+ setAggregateBy,
+ accumulateOptions,
+ accumulate,
+ setAccumulate,
+ currencyOptions,
+ currency,
+ setCurrency,
}) {
const classes = useStyles();
return (
@@ -46,17 +54,22 @@ function EditControl({
+ setWindow={setWindow}
+ />
Breakdown
@@ -66,7 +79,11 @@ function EditControl({
value={accumulate}
onChange={e => setAccumulate(e.target.value)}
>
- {accumulateOptions.map((opt) => )}
+ {accumulateOptions.map(opt => (
+
+ ))}
@@ -76,9 +93,9 @@ function EditControl({
value={currency}
onChange={e => setCurrency(e.target.value)}
>
- {currencyOptions?.map((currency) => (
-