Skip to content

Commit

Permalink
fix(salesforce): switch UTM coordinate fields to text
Browse files Browse the repository at this point in the history
  • Loading branch information
stdavis committed Sep 18, 2023
1 parent c1e4ba7 commit ec873c7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions salesforce/force-app/main/default/lwc/spills/spills.js
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,8 @@ export default class Spills extends LightningElement {
[INDIAN.fieldApiName]: data.INDIAN,
[MILEMARKER.fieldApiName]: data.MILEMARKER, // comes from widget text input
[OWNER_AGENCY.fieldApiName]: data.OWNER_AGENCY,
[UTM_X.fieldApiName]: utmX,
[UTM_Y.fieldApiName]: utmY,
[UTM_X.fieldApiName]: utmX.toString(),
[UTM_Y.fieldApiName]: utmY.toString(),
}

updateRecord({fields}).then(() => {
Expand Down

0 comments on commit ec873c7

Please sign in to comment.