Skip to content

Commit

Permalink
fix: improve warning message on undefined dataset connector
Browse files Browse the repository at this point in the history
  • Loading branch information
csm-thu committed Jan 5, 2022
1 parent 8bde6ad commit 1ed835d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/ScenarioParameters/FileManagementUtils.js
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ async function _applyDatasetChange(
parameterValue,
addDatasetToStore
) {
const fileStatus = clientFileDescriptor.status;
const fileStatus = clientFileDescriptor?.status;
if (fileStatus === UPLOAD_FILE_STATUS_KEY.READY_TO_UPLOAD) {
return await _processFileUpload(
parameterMetadata,
Expand Down

0 comments on commit 1ed835d

Please sign in to comment.