Skip to content

Commit

Permalink
fix(submissions): update function parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
NSUWAL123 committed Feb 13, 2025
1 parent 7f94721 commit f24dcca
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -513,7 +513,7 @@ const SubmissionsTable = ({ toggleView }) => {
reviewState: row?.__system?.reviewState,
entity_id: row?.feature,
label: row?.meta?.entity?.label,
feature: convertCoordinateStringToFeature(row?.xlocation),
feature: convertCoordinateStringToFeature('xlocation', row?.xlocation),
taskUid: taskUid?.toString() || null,
}),
);
Expand Down
2 changes: 1 addition & 1 deletion src/frontend/src/views/SubmissionDetails.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ const SubmissionDetails = () => {
taskUid: taskUid,
entity_id: restSubmissionDetails?.feature,
label: restSubmissionDetails?.meta?.entity?.label,
feature: convertCoordinateStringToFeature(restSubmissionDetails?.xlocation),
feature: convertCoordinateStringToFeature('xlocation', restSubmissionDetails?.xlocation),
}),
);
}}
Expand Down

0 comments on commit f24dcca

Please sign in to comment.