kopia lustrzana https://github.com/OpenDroneMap/WebODM
Less verbose boundary option display
rodzic
47a1a26cf1
commit
dffdd03ba4
|
@ -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(", ");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue