Skip to content
Snippets Groups Projects
Commit e8d3e5ae authored by moon's avatar moon
Browse files

Made the initial enumeration values lower case

parent a0b63edc
Branches cuda_on_cpu
No related tags found
No related merge requests found
......@@ -177,14 +177,14 @@ export default {
data() {
return {
item: this.$route.params.item ? this.$route.params.item : this.itemId,
entity: 'Protein', // [protein, condensate, condensate_protein]
entity: 'protein', // [protein, condensate, condensate_protein]
entityId: '', // protein: <uniprot_id>, condensate: <canonical_id>, condensate_protein: <uniprot_id>==<canonical_id>
changeOperation: 'Add', // add/remove/update/update_add/update_remove
changeOperation: 'add', // add/remove/update/update_add/update_remove
attribute: '', // protein: functional_type[driver/client/regulator], pubmed_ids[]
// condensate: description, proteins
// condensate_protein: confidence_score, pubmed_ids
attributeValue: '', // the value of the attribute to be updated. Could be "null" for add/remove operations. The data type is dynamic
status: 'Requested', // 1. Requested, 2. Accepted, 3. Rejected, 4. Patially_Accepted, 5. Synced
status: 'requested', // 1. requested, 2. accepted, 3. rejected, 4. synced
submittedBy: '',
submittedAt: '', // datetime
submissionComments: '',
......@@ -234,7 +234,7 @@ export default {
Value: this.attributeValue,
ChangeOperation: this.changeOperation,
SubmissionComments: this.submissionComments,
Status: this.status,
Status: vm.userRole === 'Maintainer' ? 'accepted' : this.status,
// ReviewedBy:
// ReviewedAt:
// ReviewComment:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment