1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-05 17:02:47 +00:00

[eslint] updated eslintrc and improved the code (#4702)

This commit is contained in:
llj
2020-11-02 13:56:35 +08:00
committed by GitHub
parent ed3e5fc416
commit 04f29704b3
337 changed files with 1586 additions and 1585 deletions

View File

@@ -17,7 +17,7 @@ class WikiPermissionEditor extends React.Component {
if (permission === 'private') {
return gettext('Private');
}
if (permission === 'public') {
return gettext('Public');
}
@@ -25,7 +25,7 @@ class WikiPermissionEditor extends React.Component {
render() {
return (
<SelectEditor
<SelectEditor
isTextMode={this.props.isTextMode}
isEditIconShow={this.props.isEditIconShow}
options={this.props.permissions}