Skip to content

Commit

Permalink
fix types
Browse files Browse the repository at this point in the history
  • Loading branch information
theosanderson committed Mar 27, 2024
1 parent a481096 commit 0235cca
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion website/src/components/SearchPage/Table.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import type { AccessionFilter, MetadataFilter, MutationFilter, Schema } from '..
import type { OrderBy } from '../../types/lapis.ts';
import MdiTriangle from '~icons/mdi/triangle';
import MdiTriangleDown from '~icons/mdi/triangle-down';

export type TableSequenceData = {
[key: string]: string | number | null;
};
Expand Down Expand Up @@ -143,7 +144,7 @@ export const Table: FC<TableProps> = ({
data-tooltip-content={
typeof row[c.field] === 'string' &&
row[c.field]!.toString().length > c.maxLength
? row[c.field]
? row[c.field]!.toString()
: ''
}
data-tooltip-id='table-tip'
Expand Down

0 comments on commit 0235cca

Please sign in to comment.