mirror of
https://github.com/zadam/trilium.git
synced 2025-11-15 09:45:52 +01:00
fix(export/zip): export options not considered
This commit is contained in:
@@ -43,8 +43,10 @@ async function exportToZip(taskContext: TaskContext<"export">, branch: BBranch,
|
||||
getNoteTargetUrl,
|
||||
archive,
|
||||
branch,
|
||||
rewriteFn
|
||||
rewriteFn,
|
||||
zipExportOptions
|
||||
};
|
||||
|
||||
switch (format) {
|
||||
case "html":
|
||||
return new HtmlExportProvider(providerData);
|
||||
|
||||
@@ -29,7 +29,7 @@ export interface ZipExportProviderData {
|
||||
branch: BBranch;
|
||||
getNoteTargetUrl: (targetNoteId: string, sourceMeta: NoteMeta) => string | null;
|
||||
archive: Archiver;
|
||||
zipExportOptions?: AdvancedExportOptions;
|
||||
zipExportOptions: AdvancedExportOptions | undefined;
|
||||
rewriteFn: RewriteLinksFn;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user