mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-11-12 00:41:32 +00:00
added new export type and fileName fix on download (#20641)
This commit is contained in:
parent
3503adb590
commit
5855ce5eaa
@ -121,7 +121,10 @@ export const EntityExportModalProvider = ({
|
|||||||
if (exportType !== ExportTypes.CSV) {
|
if (exportType !== ExportTypes.CSV) {
|
||||||
await exportUtilClassBase.exportMethodBasedOnType({
|
await exportUtilClassBase.exportMethodBasedOnType({
|
||||||
exportType,
|
exportType,
|
||||||
exportData,
|
exportData: {
|
||||||
|
...exportData,
|
||||||
|
name: fileName,
|
||||||
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
handleCancel();
|
handleCancel();
|
||||||
|
|||||||
@ -13,4 +13,5 @@
|
|||||||
export enum ExportTypes {
|
export enum ExportTypes {
|
||||||
CSV = 'CSV',
|
CSV = 'CSV',
|
||||||
PNG = 'PNG',
|
PNG = 'PNG',
|
||||||
|
PDF = 'PDF',
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user