We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 357890f + 4a2fd4f commit c51defdCopy full SHA for c51defd
apps/web/src/routes/_app/datahub/index.tsx
@@ -307,7 +307,14 @@ const MasterDataTable: React.FC<{
307
<DataTable
308
columns={[
309
{
310
- accessorFn: (subject) => removeSubjectIdScope(subject.id).slice(0, subjectIdDisplaySetting ?? 9),
+ accessorFn: (subject) => removeSubjectIdScope(subject.id),
311
+ cell: (ctx) => (
312
+ <div className="grid">
313
+ <div className="min-w-0 overflow-x-auto whitespace-nowrap" title={ctx.getValue() as string}>
314
+ {(ctx.getValue() as string).slice(0, subjectIdDisplaySetting ?? 9)}
315
+ </div>
316
317
+ ),
318
header: t('datahub.index.table.subject'),
319
id: 'subjectId'
320
},
0 commit comments