fixed id of a translated message

This commit is contained in:
or-else
2020-12-06 19:47:01 -08:00
parent 0c9e6379d6
commit af58db914b
5 changed files with 7 additions and 5 deletions
+1 -1
View File
@@ -663,7 +663,7 @@ class MessagesView extends React.Component {
handleAttachFile(file) {
if (file.size > MAX_EXTERN_ATTACHMENT_SIZE) {
// Too large.
this.props.onError(this.props.intl.formatMessage('file_attachment_too_large',
this.props.onError(this.props.intl.formatMessage({id: 'file_attachment_too_large'},
{size: bytesToHumanSize(file.size), limit: bytesToHumanSize(MAX_EXTERN_ATTACHMENT_SIZE)}), 'err');
} else {
this.setState({ docPreview: {