@@ -18,17 +18,17 @@ const SidebarContent = observer(
1818 changeVisibility,
1919 context : {
2020 id,
21- identifier : { oai, doi } ,
21+ identifiers : { oai, doi } ,
2222 title,
23- author ,
24- link ,
23+ authors ,
24+ links ,
2525 disabled,
2626 lastUpdate,
2727 } ,
2828 } ) => {
2929 const { Header, Body, Footer } = Table . Sidebar
30- const fullText = link . find ( ( v ) => v . type === 'download' )
31- const displayPage = link . find ( ( v ) => v . type === 'display' )
30+ const fullText = links . find ( ( v ) => v . type === 'download' )
31+ const displayPage = links . find ( ( v ) => v . type === 'display' )
3232 return (
3333 < >
3434 < Header
@@ -44,7 +44,7 @@ const SidebarContent = observer(
4444 < div >
4545 < b > { title } </ b >
4646 </ div >
47- < div > { author . map ( ( a ) => a . name ) . join ( ' ' ) } </ div >
47+ < div > { authors . map ( ( a ) => a . name ) . join ( ' ' ) } </ div >
4848 < DetailList >
4949 < DetailList . Item name = "Full text" >
5050 < Icon
@@ -95,7 +95,7 @@ const TableCard = ({ works, changeVisibility, exportUrl, ...props }) => {
9595 display = "OAI"
9696 order = "any"
9797 getter = { ( v ) => {
98- const { oai } = v . identifier
98+ const { oai } = v . identifiers
9999 if ( oai ) return oai . split ( ':' ) . pop ( )
100100 return '-'
101101 } }
@@ -111,7 +111,7 @@ const TableCard = ({ works, changeVisibility, exportUrl, ...props }) => {
111111 display = "Authors"
112112 order = "any"
113113 className = { styles . authorsColumn }
114- getter = { ( v ) => v . author . map ( ( a ) => a . name ) . join ( ' ' ) }
114+ getter = { ( v ) => v . authors . map ( ( a ) => a . name ) . join ( ' ' ) }
115115 />
116116 < Table . Column
117117 id = "lastUpdate"
0 commit comments