|
|
@ -408,9 +408,13 @@ export class ExportService { |
|
|
|
.map((c) => c.title) |
|
|
|
.map((c) => c.title) |
|
|
|
.join(','); |
|
|
|
.join(','); |
|
|
|
|
|
|
|
|
|
|
|
const mmColumns = model.columns.filter( |
|
|
|
const mmColumns = param._fieldIds |
|
|
|
(col) => isLinksOrLTAR(col) && col.colOptions?.type === 'mm', |
|
|
|
? model.columns |
|
|
|
); |
|
|
|
.filter((c) => param._fieldIds?.includes(c.id)) |
|
|
|
|
|
|
|
.filter((col) => isLinksOrLTAR(col) && col.colOptions?.type === 'mm') |
|
|
|
|
|
|
|
: model.columns.filter( |
|
|
|
|
|
|
|
(col) => isLinksOrLTAR(col) && col.colOptions?.type === 'mm', |
|
|
|
|
|
|
|
); |
|
|
|
|
|
|
|
|
|
|
|
const hasLink = mmColumns.length > 0; |
|
|
|
const hasLink = mmColumns.length > 0; |
|
|
|
|
|
|
|
|
|
|
|