Skip to content

Commit

Permalink
Less verbose boundary option display
Browse files Browse the repository at this point in the history
  • Loading branch information
pierotofy committed Jul 29, 2024
1 parent 47a1a26 commit dffdd03
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion app/static/app/js/components/TaskListItem.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,10 @@ class TaskListItem extends React.Component {
if (!Array.isArray(options)) return "";
else if (options.length === 0) return "Default";
else {
return options.map(opt => `${opt.name}: ${opt.value}`).join(", ");
return options.map(opt => {
if (opt.name === "boundary") return `${opt.name}:geojson`;
else return `${opt.name}:${opt.value}`
}).join(", ");
}
}

Expand Down

0 comments on commit dffdd03

Please sign in to comment.