mirror of
https://github.com/ascribe/onion.git
synced 2024-06-30 21:52:08 +02:00
remove border from piece list item
This commit is contained in:
parent
773d42a3b8
commit
c538cd757e
|
@ -21,7 +21,6 @@ let AccordionListItemTable = React.createClass({
|
||||||
},
|
},
|
||||||
|
|
||||||
render() {
|
render() {
|
||||||
if(this.props.show && this.props.itemList) {
|
|
||||||
return (
|
return (
|
||||||
<Table
|
<Table
|
||||||
responsive
|
responsive
|
||||||
|
@ -42,13 +41,6 @@ let AccordionListItemTable = React.createClass({
|
||||||
})}
|
})}
|
||||||
</Table>
|
</Table>
|
||||||
);
|
);
|
||||||
} else {
|
|
||||||
return (
|
|
||||||
<div className={this.props.className}>
|
|
||||||
{this.props.children}
|
|
||||||
</div>
|
|
||||||
);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
@ -179,12 +179,9 @@ let AccordionListItemTableEditions = React.createClass({
|
||||||
|
|
||||||
let loadingSpinner = <span className="glyph-ascribe-spool-chunked ascribe-color spin"/>;
|
let loadingSpinner = <span className="glyph-ascribe-spool-chunked ascribe-color spin"/>;
|
||||||
|
|
||||||
|
if(show && editionsForPiece && editionsForPiece.length > 0) {
|
||||||
return (
|
return (
|
||||||
<div className={this.props.className}>
|
<div className={this.props.className}>
|
||||||
{/* <AccordionListItemTableToggle
|
|
||||||
className="ascribe-accordion-list-table-toggle"
|
|
||||||
onClick={this.toggleTable}
|
|
||||||
message={show && typeof editionsForPiece !== 'undefined' ? <span><span className="glyphicon glyphicon-menu-up" aria-hidden="true" style={{top: 2}}></span> {getLangText('Hide editions')}</span> : <span><span className="glyphicon glyphicon-menu-down" aria-hidden="true" style={{top: 2}}></span> {getLangText('Show editions')} {show && typeof editionsForPiece === 'undefined' ? loadingSpinner : null}</span>} /> */}
|
|
||||||
<AccordionListItemTable
|
<AccordionListItemTable
|
||||||
parentId={this.props.parentId}
|
parentId={this.props.parentId}
|
||||||
itemList={editionsForPiece}
|
itemList={editionsForPiece}
|
||||||
|
@ -200,6 +197,9 @@ let AccordionListItemTableEditions = React.createClass({
|
||||||
message={show && showExpandOption ? <span><span className="glyphicon glyphicon-option-horizontal" aria-hidden="true" style={{top: 3}}></span> Show me more {this.state.showMoreLoading ? loadingSpinner : null}</span> : ''} />
|
message={show && showExpandOption ? <span><span className="glyphicon glyphicon-option-horizontal" aria-hidden="true" style={{top: 3}}></span> Show me more {this.state.showMoreLoading ? loadingSpinner : null}</span> : ''} />
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
|
} else {
|
||||||
|
return null;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user