Merge branch '18123-group-edit-page-rebase1' into main. Closes #18123
[arvados-workbench2.git] / src / views / process-log-panel / process-log-form.tsx
index 4b6cbe56343bf44b235a053935e85f3a61a03dfd..946e575e3108537336b44809023cb259c99e14d9 100644 (file)
@@ -2,9 +2,9 @@
 //
 // SPDX-License-Identifier: AGPL-3.0
 
-import * as React from 'react';
+import React from 'react';
 import { withStyles, WithStyles, StyleRulesCallback, FormControl, InputLabel, Select, MenuItem, Input } from '@material-ui/core';
-import { ArvadosTheme } from '~/common/custom-theme';
+import { ArvadosTheme } from 'common/custom-theme';
 import { FilterOption } from './process-log-panel';
 
 type CssRules = 'formControl';
@@ -35,7 +35,7 @@ export const ProcessLogForm = withStyles(styles)(
                 </InputLabel>
                 <Select
                     value={selectedFilter.value}
-                    onChange={event => onChange}
+                    onChange={({ target }) => onChange({ label: target.innerText, value: target.value })}
                     input={<Input name="eventType" id="log-label-placeholder" />}
                     name="eventType">
                     {