Skip to content

Commit

Permalink
Merge pull request #151 from NIH-NCPI/yc/fd-1800-enum-edit-error
Browse files Browse the repository at this point in the history
FD-1800 -- Enumeration Dropdown Error
  • Loading branch information
yelenacox authored Dec 6, 2024
2 parents 3fbcab2 + 2db5fb0 commit a0b06b0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .env
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ VITE_MONARCH_SEARCH = https://api-v3.monarchinitiative.org/v3/api/search?
# VITE_VOCAB_ENDPOINT = http://127.0.0.1:5000/api # local
VITE_VOCAB_ENDPOINT = https://locutus-dev-110109177269.us-central1.run.app/api # dev
# VITE_VOCAB_ENDPOINT = https://locutus-uat-1066621297011.us-central1.run.app/api # uat
VITE_CLIENT_ID = 907694787484-36jr4oaf04mmniik6482batc87ejemm8.apps.googleusercontent.com
VITE_CLIENT_ID = 159970607373-mvkv4lfl4ovpul5bssatuf1re4ucvg8n.apps.googleusercontent.com
VITE_MAPDRAGON_VERSION = "Development"
2 changes: 1 addition & 1 deletion src/components/Projects/Tables/EditDataTypeSubForm.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ function EditDataTypeSubForm({ type, form, editRow, tableData }) {
if (editRow === tableData.key && tableData.data_type === 'ENUMERATION') {
form.setFieldsValue({
enumerations: {
reference: tableData.enumeration.props.to.slice(1),
reference: tableData?.variable?.enumerations?.reference,
},
});
}
Expand Down

0 comments on commit a0b06b0

Please sign in to comment.