diff --git a/web/src/pages/billing/BillingCostByAnalysis.tsx b/web/src/pages/billing/BillingCostByAnalysis.tsx index a87515a80..3bd79b523 100644 --- a/web/src/pages/billing/BillingCostByAnalysis.tsx +++ b/web/src/pages/billing/BillingCostByAnalysis.tsx @@ -50,7 +50,9 @@ const BillingCostByAnalysis: React.FunctionComponent = () => { })) const [searchByType, setSearchByType] = React.useState( - (searchParams.get('searchType') as SearchType) ?? SearchType[0] + (SearchType[ + parseInt(searchParams.get('searchType') ?? '0', 10) + ] as unknown as SearchType) ?? SearchType[0] ) // use navigate and update url params diff --git a/web/src/pages/project/AnalysisRunnerView/AnalysisRunnerGrid.tsx b/web/src/pages/project/AnalysisRunnerView/AnalysisRunnerGrid.tsx index 6a4142e98..1c109a709 100644 --- a/web/src/pages/project/AnalysisRunnerView/AnalysisRunnerGrid.tsx +++ b/web/src/pages/project/AnalysisRunnerView/AnalysisRunnerGrid.tsx @@ -1,5 +1,5 @@ import * as React from 'react' -import { Table as SUITable, Popup, Checkbox } from 'semantic-ui-react' +import { Table as SUITable, Popup, Checkbox, Button, Label, Icon } from 'semantic-ui-react' import _, { Dictionary } from 'lodash' import Table from '../../../shared/components/Table' import sanitiseValue from '../../../shared/utilities/sanitiseValue' @@ -56,13 +56,24 @@ const MAIN_FIELDS: IMainField[] = [ cursor: 'pointer', }} > - {log.arGuid.substring(0, 7)} + + {log.arGuid.substring(0, 7)} + } hoverable position="bottom center" > - {log.arGuid} + + ), },