mirror of
https://github.com/vector-im/element-web.git
synced 2025-08-22 06:51:21 +02:00
Update src/utils/exportUtils/exportUtils.ts
Co-authored-by: Michael Telatynski <7t3chguy@googlemail.com>
This commit is contained in:
parent
4ddbe76fbd
commit
e6cb0666ef
@ -13,7 +13,7 @@ export enum exportTypes {
|
|||||||
LAST_N_MESSAGES = "LAST_N_MESSAGES",
|
LAST_N_MESSAGES = "LAST_N_MESSAGES",
|
||||||
}
|
}
|
||||||
|
|
||||||
export const textForFormat = (format: string) => {
|
export const textForFormat = (format: string): string => {
|
||||||
switch (format) {
|
switch (format) {
|
||||||
case exportFormats.HTML:
|
case exportFormats.HTML:
|
||||||
return _t("HTML");
|
return _t("HTML");
|
||||||
@ -43,4 +43,3 @@ export interface exportOptions {
|
|||||||
attachmentsIncluded: boolean;
|
attachmentsIncluded: boolean;
|
||||||
maxSize: number;
|
maxSize: number;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user