1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-04 08:28:11 +00:00

fix code format (#6365)

This commit is contained in:
Michael An
2024-07-18 11:58:42 +08:00
committed by GitHub
parent c5d02b33b2
commit 67210c7363
450 changed files with 2425 additions and 2385 deletions

View File

@@ -81,7 +81,7 @@ class ZipDownloadDialog extends React.Component {
});
} else {
this.setState({
zipProgress: data.total == 0 ? '100%' : (data.zipped/data.total*100).toFixed(2) + '%'
zipProgress: data.total == 0 ? '100%' : (data.zipped / data.total * 100).toFixed(2) + '%'
});
if (data['total'] == data['zipped']) {
clearInterval(interval);
@@ -132,7 +132,7 @@ class ZipDownloadDialog extends React.Component {
class Content extends React.Component {
render() {
const {isLoading, errorMsg, zipProgress} = this.props.data;
const { isLoading, errorMsg, zipProgress } = this.props.data;
if (isLoading) {
return <Loading />;