Skip to content

Commit

Permalink
drone fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ValentinBouzinFiligran committed Sep 6, 2024
1 parent 2267530 commit deb2cd4
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React, { useMemo } from 'react';
import React, { useMemo, SyntheticEvent } from 'react';
import Skeleton from '@mui/material/Skeleton';
import Checkbox from '@mui/material/Checkbox';
import IconButton from '@mui/material/IconButton';
Expand Down Expand Up @@ -142,7 +142,7 @@ const DataTableLine = ({

const startsWithSelect = effectiveColumns.at(0)?.id === 'select';

const handleSelectLine = (event) => {
const handleSelectLine = (event: SyntheticEvent) => {
event.preventDefault();
event.stopPropagation();
if (event.shiftKey) {
Expand All @@ -152,7 +152,7 @@ const DataTableLine = ({
}
};

const handleRowClick = (event) => {
const handleRowClick = (event: SyntheticEvent) => {
if (disableRedirectOnRowClick) {
handleSelectLine(event);
return undefined;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,7 @@ export interface DataTableDisplayFiltersProps {
additionalFilterKeys?: string[]
availableRelationFilterTypes?: Record<string, string[]> | undefined
availableFilterKeys?: string[] | undefined;
availableEntityTypes?: string[]
paginationOptions: any
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ const StixCyberObservables: FunctionComponent = () => {
...paginationOptions,
filters: contextFilters,
} as unknown as StixCyberObservablesLinesPaginationQuery$variables;

const queryRef = useQueryLoading<StixCyberObservablesLinesPaginationQuery>(
stixCyberObservablesLinesQuery,
queryPaginationOptions,
Expand Down

0 comments on commit deb2cd4

Please sign in to comment.