Skip to content

Commit

Permalink
post merge fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Dosant committed Sep 30, 2024
1 parent 3e243e5 commit 6e10188
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const AgentIcon = dynamic(() => import('@kbn/custom-icons/src/components/agent_i

export const getServiceNameCell =
(serviceNameField: string) => (props: DataGridCellValueElementProps) => {
const serviceNameValue = getFieldValue(props.row, serviceNameField);
const serviceNameValue = getFieldValue(props.row, serviceNameField) as string;
const agentName = getFieldValue(props.row, AGENT_NAME_FIELD) as AgentName;

if (!serviceNameValue) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export type HostCellWithFlyoutRendererProps = PropsWithChildren<DataGridCellValu
const HostCellWithFlyoutRendererComp = React.memo(function HostCellWithFlyoutRendererComp(
props: HostCellWithFlyoutRendererProps
) {
const hostName = getFieldValue(props.row, 'host.name');
const hostName = getFieldValue(props.row, 'host.name') as string;

const { openFlyout } = useExpandableFlyoutApi();

Expand Down

0 comments on commit 6e10188

Please sign in to comment.