1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-15 14:49:09 +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

@@ -35,10 +35,10 @@ class DirTool extends React.Component {
};
this.sortOptions = [
{value: 'name-asc', text: gettext('By name ascending')},
{value: 'name-desc', text: gettext('By name descending')},
{value: 'time-asc', text: gettext('By time ascending')},
{value: 'time-desc', text: gettext('By time descending')}
{ value: 'name-asc', text: gettext('By name ascending') },
{ value: 'name-desc', text: gettext('By name descending') },
{ value: 'time-asc', text: gettext('By time ascending') },
{ value: 'time-desc', text: gettext('By time descending') }
];
}
@@ -56,11 +56,11 @@ class DirTool extends React.Component {
dom = dom.parentNode;
}
}
this.setState({isRepoTagDialogOpen: false});
this.setState({ isRepoTagDialogOpen: false });
};
toggleCancel = () => {
this.setState({isRepoTagDialogOpen: false});
this.setState({ isRepoTagDialogOpen: false });
};
getMenu = () => {
@@ -78,7 +78,7 @@ class DirTool extends React.Component {
const { key } = item;
switch (key) {
case 'Tags':
this.setState({isRepoTagDialogOpen: !this.state.isRepoTagDialogOpen});
this.setState({ isRepoTagDialogOpen: !this.state.isRepoTagDialogOpen });
break;
}
};