kopia lustrzana https://github.com/OpenDroneMap/WebODM
Less verbose opts preview
rodzic
24b32ce75b
commit
2f5d50b022
|
@ -373,7 +373,10 @@ class EditTaskForm extends React.Component {
|
|||
|
||||
getAvailableOptionsOnlyText(options, availableOptions){
|
||||
const opts = this.getAvailableOptionsOnly(options, availableOptions);
|
||||
let res = opts.map(opt => `${opt.name}:${opt.value}`).join(", ");
|
||||
let res = opts.map(opt => {
|
||||
if (opt.name === "boundary") return `${opt.name}:geojson`;
|
||||
else return `${opt.name}:${opt.value}`;
|
||||
}).join(", ");
|
||||
if (!res) res = _("Default");
|
||||
return res;
|
||||
}
|
||||
|
|
Ładowanie…
Reference in New Issue