Skip to content

Commit 555f870

Browse files
committed
enabled cite feature in TRIPLE
1 parent 67b8bc1 commit 555f870

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

vis/js/templates/listentry/PaperButtons.jsx

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@ const PaperButtons = ({
3131
<div className="paper_buttons_row">
3232
{!!onPDFClick && (
3333
<button className="paper_button main" onClick={handlePDFButtonClick}>
34-
<i className="far fa-file-pdf"></i>&nbsp;&nbsp;<Highlight>PDF</Highlight>
34+
<i className="far fa-file-pdf"></i>&nbsp;&nbsp;
35+
<Highlight>PDF</Highlight>
3536
</button>
3637
)}
3738
{showCiteButton && (
@@ -45,7 +46,9 @@ const PaperButtons = ({
4546
};
4647

4748
const mapStateToProps = (state) => ({
48-
showCiteButton: ["base", "pubmed"].includes(state.service),
49+
showCiteButton: ["base", "pubmed", "triple_km", "triple_sg"].includes(
50+
state.service
51+
),
4952
});
5053

5154
export default connect(

0 commit comments

Comments
 (0)