Skip to content

Commit b6687c4

Browse files
committed
jobs: fix missing control number
Signed-off-by: Harris Tzovanakis <[email protected]>
1 parent 43f6711 commit b6687c4

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

kibana.yml

Whitespace-only changes.

ui/src/jobs/containers/DetailPageContainer.jsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ function DetailPage({ record }) {
3434
const created = record.get('created');
3535
const updated = record.get('updated');
3636
const position = metadata.get('position');
37+
const controlNumber = metadata.get('control_number');
3738
const institutions = metadata.get('institutions');
3839
const regions = metadata.get('regions');
3940
const arxivCategories = metadata.get('arxiv_categories');
@@ -59,7 +60,7 @@ function DetailPage({ record }) {
5960
<ContentBox
6061
leftActions={
6162
canEdit && (
62-
<EditRecordAction pidType="jobs" pidValue={this.recordId} />
63+
<EditRecordAction pidType="jobs" pidValue={controlNumber} />
6364
)
6465
}
6566
>

0 commit comments

Comments
 (0)