Skip to content

Commit eb7f6b3

Browse files
Circuit table add published in column (#355)
* Removed the component of search bar and filter options * Added publishedIn column to circuit table --------- Co-authored-by: Loris Olivier <53363974+loris-maru@users.noreply.github.com>
1 parent df9635f commit eb7f6b3

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

src/components/explore-section/Circuit/global/Columns.tsx

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,14 @@ const columns = (
128128
<div className="whitespace-nowrap font-normal">{record.metadata.contributorSimple}</div>
129129
),
130130
},
131+
{
132+
title: 'Published in',
133+
key: 'publishedIn',
134+
width: 150,
135+
render: (_value: any, record: CircuitSchemaProps, _index: number) => (
136+
<div className="whitespace-nowrap font-normal">{record.metadata.publishedIn}</div>
137+
),
138+
},
131139
{
132140
title: 'Registration date',
133141
key: 'registrationDate',

src/components/explore-section/Circuit/type/index.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ export type CircuitSchemaProps = {
4141
contributorSimple?: string;
4242
contributor?: string | null;
4343
contributingInstitution?: string;
44+
publishedIn?: string;
4445
registrationDate?: string;
4546
revision: number | null;
4647
createdBy: string | null;

0 commit comments

Comments
 (0)