Skip to content

Commit

Permalink
esportazione in CSV di
Browse files Browse the repository at this point in the history
* SeminarCategory
* EventRoom
  • Loading branch information
paolini committed Oct 28, 2023
1 parent cd430c7 commit 0325e00
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "dm-manager",
"version": "1.3.7",
"version": "1.3.8",
"private": true,
"dependencies": {
"@fortawesome/fontawesome-svg-core": "^6.1.2",
Expand Down
4 changes: 4 additions & 0 deletions src/components/LoadTable.js
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,10 @@ export function computeCsvHeaders(fieldsInfo) {
headers.push(`${key}.firstName`)
} else if (field['x-ref'] === 'Institution') {
headers.push(`${key}.name`)
} else if (field['x-ref'] === 'SeminarCategory') {
headers.push(`${key}.name`)
} else if (field['x-ref'] === 'ConferenceRoom') {
headers.push(`${key}.name`)
} else {
headers.push(key)
}
Expand Down

0 comments on commit 0325e00

Please sign in to comment.