Skip to content
Snippets Groups Projects
Commit 99c4682b authored by Nicoleta Ursu's avatar Nicoleta Ursu
Browse files

feat: add article description column

parent f50cbc57
No related branches found
No related tags found
No related merge requests found
......@@ -73,9 +73,12 @@ const User = ({ manuscriptId, manuscript, submitter, history, ...props }) => {
{process.env.INSTANCE_NAME === 'aperture' && (
<Cell>{manuscript.meta && manuscript.meta.title}</Cell>
)}
{['elife', 'ncrc'].includes(process.env.INSTANCE_NAME) && (
{['elife'].includes(process.env.INSTANCE_NAME) && (
<Cell>{manuscript.submission && manuscript.submission.articleId}</Cell>
)}
{['ncrc'].includes(process.env.INSTANCE_NAME) && (
<Cell><span style={{wordBreak: "break-word"}}>{manuscript.submission && manuscript.submission.articleDescription}</span></Cell>
)}
<Cell>{convertTimestampToDate(manuscript.created)}</Cell>
<Cell>{convertTimestampToDate(manuscript.updated)}</Cell>
{process.env.INSTANCE_NAME === 'ncrc' && (
......
......@@ -114,10 +114,15 @@ const Manuscripts = ({ history, ...props }) => {
{process.env.INSTANCE_NAME === 'aperture' && (
<SortHeader thisSortName="meta:title">Title</SortHeader>
)}
{['elife', 'ncrc'].includes(process.env.INSTANCE_NAME) && (
{['elife'].includes(process.env.INSTANCE_NAME) && (
<SortHeader thisSortName="submission:articleId">
Article Id
</SortHeader>
)}
{['ncrc'].includes(process.env.INSTANCE_NAME) && (
<SortHeader thisSortName="submission:articleDescription">
Description
</SortHeader>
)}
<SortHeader thisSortName="created">Created</SortHeader>
<SortHeader thisSortName="updated">Updated</SortHeader>
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment