Spaces:
Sleeping
Sleeping
Update frontend/src/components/ProtocolDetail.tsx
Browse files
frontend/src/components/ProtocolDetail.tsx
CHANGED
|
@@ -675,6 +675,18 @@ export function ProtocolDetail({
|
|
| 675 |
needSearchHint
|
| 676 |
) : (
|
| 677 |
<div className="phase2-section">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 678 |
<RankingPanel
|
| 679 |
protocolId={protocol.id}
|
| 680 |
runId={searchRun.id}
|
|
|
|
| 675 |
needSearchHint
|
| 676 |
) : (
|
| 677 |
<div className="phase2-section">
|
| 678 |
+
<div className="export-actions">
|
| 679 |
+
<span className="field-label">Download CSV</span>
|
| 680 |
+
<a className="secondary-btn" href={`/api/v1/protocols/${protocol.id}/export/records.csv`}>
|
| 681 |
+
Records
|
| 682 |
+
</a>
|
| 683 |
+
<a className="secondary-btn" href={`/api/v1/protocols/${protocol.id}/export/screening.csv`}>
|
| 684 |
+
Screening audit trail
|
| 685 |
+
</a>
|
| 686 |
+
<a className="secondary-btn" href={`/api/v1/protocols/${protocol.id}/export/extraction.csv`}>
|
| 687 |
+
Extraction
|
| 688 |
+
</a>
|
| 689 |
+
</div>
|
| 690 |
<RankingPanel
|
| 691 |
protocolId={protocol.id}
|
| 692 |
runId={searchRun.id}
|