Skip to content

Commit

Permalink
clean up code
Browse files Browse the repository at this point in the history
  • Loading branch information
tannerwuster committed Dec 12, 2024
1 parent 2ced05c commit 62404b7
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions modules/ui/maproulette_menu.js
Original file line number Diff line number Diff line change
Expand Up @@ -182,10 +182,10 @@ export function uiMapRouletteMenu(context) {
console.error('No task selected');
return;
}
console.log('Current d in fixedIt:', d); // Debugging log
_qaItem._status = 1; // Update the status of the task
_actionTaken = 'FIXED'; // Set the action taken
submitTask(d3_event, _qaItem); // Submit the task with the updated status
console.log('Current d in fixedIt:', d);
_qaItem._status = 1;
_actionTaken = 'FIXED';
submitTask(d3_event, _qaItem);
}


Expand Down Expand Up @@ -282,6 +282,7 @@ export function uiMapRouletteMenu(context) {
mapRouletteMenu.error = function(val) {
if (!arguments.length) return _qaItem;
_qaItem = val;
console.log('_qaItem',_qaItem);
_actionTaken = '';
return mapRouletteMenu;
};
Expand Down

0 comments on commit 62404b7

Please sign in to comment.