Co-authored-by: Mattermost Build <build@mattermost.com>
Этот коммит содержится в:
LeonardJouve
2023-04-03 22:04:18 +02:00
коммит произвёл GitHub
родитель 3f6452bdf5
Коммит f97a11680b

Просмотреть файл

@@ -249,6 +249,7 @@ export default class AddBot extends React.PureComponent<Props, State> {
/>
),
});
return;
} else if (this.state.pictureFile.size > this.props.maxFileSize) {
this.setState({
error: (
@@ -258,6 +259,7 @@ export default class AddBot extends React.PureComponent<Props, State> {
/>
),
});
return;
}
}