Skip to content

Commit

Permalink
improved how entries are formatted
Browse files Browse the repository at this point in the history
  • Loading branch information
CommanderStorm committed Oct 28, 2022
1 parent edd3141 commit de2c06f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions webclient/src/views/view/view-view.js
Original file line number Diff line number Diff line change
Expand Up @@ -323,10 +323,10 @@ navigatum.registerView("view", {

let editStr = "";
Object.entries(currentEdits).forEach(([key, value]) => {
editStr += `"${key}": {coords: {lat: ${value.coords.lat}, lon: ${value.coords.lon}}}\n`;
editStr += `"${key}": { lat: ${value.coords.lat}, lon: ${value.coords.lon} }\n`;
});

return `${actionMsg}\n\`\`\`\n${editStr}\n\`\`\``;
return `${actionMsg}\n\`\`\`yaml\n${editStr}\`\`\``;
},
openFeedbackForm: function () {
// The feedback form is opened. This may be prefilled with previously corrected coordinates.
Expand Down

0 comments on commit de2c06f

Please sign in to comment.