File tree Expand file tree Collapse file tree 1 file changed +13
-5
lines changed
src/modules/resource-acccess/components/Holder Expand file tree Collapse file tree 1 file changed +13
-5
lines changed Original file line number Diff line number Diff line change @@ -15,16 +15,24 @@ const notesList = (notes) => {
1515
1616 if ( notes . length === 1 ) {
1717 return (
18- < p className = 'text-grey__light' >
19- { notes [ 0 ] }
20- </ p >
18+ < Expandable >
19+ < ExpandableChildren show = { 0 } >
20+ < p className = 'text-grey__light margin-bottom__none' >
21+ { notes [ 0 ] }
22+ </ p >
23+ </ ExpandableChildren >
24+ < ExpandableButton
25+ name = 'holdings note'
26+ count = { notes . length }
27+ />
28+ </ Expandable >
2129 ) ;
2230 }
2331
2432 return (
2533 < Expandable >
2634 < ul className = 'margin-bottom__none' >
27- < ExpandableChildren show = { 2 } >
35+ < ExpandableChildren show = { 0 } >
2836 { notes . map ( ( note , index ) => {
2937 return (
3038 < li
@@ -38,7 +46,7 @@ const notesList = (notes) => {
3846 </ ExpandableChildren >
3947 </ ul >
4048
41- { notes . length > 2 && (
49+ { notes . length > 0 && (
4250 < ExpandableButton
4351 name = 'holdings notes'
4452 count = { notes . length }
You can’t perform that action at this time.
0 commit comments