|
|
|
@ -13,6 +13,7 @@ import NcPluginMgrv2 from '~/helpers/NcPluginMgrv2';
|
|
|
|
|
import { NcError } from '~/helpers/catchError'; |
|
|
|
|
import { DatasService } from '~/services/datas.service'; |
|
|
|
|
import { Base, Hook, Model, Source } from '~/models'; |
|
|
|
|
import { parseMetaProp } from '~/utils/modelUtils'; |
|
|
|
|
|
|
|
|
|
@Injectable() |
|
|
|
|
export class ExportService { |
|
|
|
@ -220,10 +221,7 @@ export class ExportService {
|
|
|
|
|
break; |
|
|
|
|
case 'meta': |
|
|
|
|
if (view.type === ViewTypes.KANBAN) { |
|
|
|
|
const meta = JSON.parse(view.view.meta as string) as Record< |
|
|
|
|
string, |
|
|
|
|
any |
|
|
|
|
>; |
|
|
|
|
const meta = parseMetaProp(view.view) as Record<string, any>; |
|
|
|
|
for (const [k, v] of Object.entries(meta)) { |
|
|
|
|
const colId = idMap.get(k as string); |
|
|
|
|
for (const op of v) { |
|
|
|
|