Enable option to set maximum file size

This commit is contained in:
Jaiwanth 2021-06-15 16:41:31 +05:30
parent 30c7017fad
commit bd75849e73
4 changed files with 20 additions and 3 deletions

View file

@ -86,7 +86,11 @@ export default class RoomHeader extends React.Component {
this.props.room,
exportFormats.HTML,
exportTypes.START_DATE,
{ startDate: parseInt(new Date("2021.05.20").getTime().toFixed(0)), attachmentsIncluded: false },
{
startDate: parseInt(new Date("2021.05.20").getTime().toFixed(0)),
attachmentsIncluded: true,
maxSize: 3 * 1024 * 1024, // 3 MB
},
);
}