mirror of
https://github.com/wekan/wekan.git
synced 2025-09-22 01:50:48 +02:00
parent
6f31240c74
commit
c2942fa269
1 changed files with 3 additions and 2 deletions
|
@ -348,9 +348,10 @@ export class Exporter {
|
|||
const dropdownOptions = result.customFields.find(
|
||||
({ _id }) => _id === field._id,
|
||||
).settings.dropdownItems;
|
||||
const fieldValue = dropdownOptions.find(
|
||||
const fieldObj = dropdownOptions.find(
|
||||
({ _id }) => _id === field.value,
|
||||
).name;
|
||||
);
|
||||
const fieldValue = (fieldObj && fieldObj.name) || null;
|
||||
customFieldValuesToPush[customFieldMap[field._id].position] =
|
||||
fieldValue;
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue