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:
@@ -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 />;
|
||||
|
Reference in New Issue
Block a user