Skip to content

Commit

Permalink
Merge branch 'main' into add-algorithms
Browse files Browse the repository at this point in the history
  • Loading branch information
Siddhanttimeline authored Dec 13, 2024
2 parents 0ca931c + ea5a246 commit 876f231
Showing 1 changed file with 6 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ import {
isUndefined,
set,
sortBy,
toLower,
uniqBy,
} from 'lodash';
import { EntityTags, TagFilterOptions } from 'Models';
Expand Down Expand Up @@ -246,15 +245,12 @@ const SchemaTable = ({
return NO_DATA_PLACEHOLDER;
}

return isReadOnly ||
(displayValue && displayValue.length < 25 && !isReadOnly) ? (
toLower(displayValue)
) : (
<Tooltip title={toLower(displayValue)}>
<Typography.Text ellipsis className="cursor-pointer">
{displayValue}
</Typography.Text>
</Tooltip>
return (
<Typography.Paragraph
className="cursor-pointer"
ellipsis={{ tooltip: displayValue, rows: 3 }}>
{displayValue}
</Typography.Paragraph>
);
};

Expand Down Expand Up @@ -419,7 +415,6 @@ const SchemaTable = ({
dataIndex: 'dataTypeDisplay',
key: 'dataTypeDisplay',
accessor: 'dataTypeDisplay',
ellipsis: true,
width: 150,
render: renderDataTypeDisplay,
},
Expand Down

0 comments on commit 876f231

Please sign in to comment.