chore: Export improvements (#4617)

* wip

* i18n
This commit is contained in:
Tom Moor
2022-12-27 09:51:39 -08:00
committed by GitHub
parent ee37ba9355
commit 1b8dd9399c
17 changed files with 99 additions and 26 deletions

View File

@@ -419,7 +419,9 @@ export default class Document extends ParanoidModel {
};
}
download = async (contentType: "text/html" | "text/markdown") => {
download = async (
contentType: "text/html" | "text/markdown" | "application/pdf"
) => {
await client.post(
`/documents.export`,
{