1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-01 23:20:51 +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

@@ -252,10 +252,10 @@ class FileAccessLogs extends Component {
}
toggleExportExcelDialog = () => {
this.setState({isExportExcelDialogOpen: !this.state.isExportExcelDialogOpen});
this.setState({ isExportExcelDialogOpen: !this.state.isExportExcelDialogOpen });
};
componentDidMount () {
componentDidMount() {
let urlParams = (new URL(window.location)).searchParams;
const { currentPage, perPage } = this.state;
this.setState({
@@ -308,7 +308,7 @@ class FileAccessLogs extends Component {
userFilteredBy: email
}, () => {
this.getLogsByPage(this.initPage);
this.updateURL({'email': email});
this.updateURL({ 'email': email });
});
};
@@ -317,7 +317,7 @@ class FileAccessLogs extends Component {
repoFilteredBy: repoID
}, () => {
this.getLogsByPage(this.initPage);
this.updateURL({'repo_id': repoID});
this.updateURL({ 'repo_id': repoID });
});
};