Skip to content

Commit

Permalink
Add TODO
Browse files Browse the repository at this point in the history
  • Loading branch information
fhennig committed Dec 24, 2024
1 parent 8088a2d commit 849a481
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions website/src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ export function getMetadataTemplateFields(organism: string, action: 'submit' | '
const schema = getConfig(organism).schema;
const baseFields = schema.metadataTemplate ?? getConfig(organism).schema.inputFields.map((field) => field.name);
const extraFields = action === 'submit' ? [SUBMISSION_ID_FIELD] : [ACCESSION_FIELD, SUBMISSION_ID_FIELD];
// TODO it would be cool if this also returned the display names
return [...extraFields, ...baseFields];
}

Expand Down

0 comments on commit 849a481

Please sign in to comment.