mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-20 10:58:33 +00:00
fix code format (#6365)
This commit is contained in:
@@ -49,7 +49,7 @@ class ViewFileText extends React.Component {
|
||||
isSaving: false,
|
||||
participants: [],
|
||||
};
|
||||
this.onSave=this.onSave.bind(this);
|
||||
this.onSave = this.onSave.bind(this);
|
||||
this.isParticipant = false;
|
||||
}
|
||||
|
||||
@@ -61,7 +61,7 @@ class ViewFileText extends React.Component {
|
||||
});
|
||||
};
|
||||
|
||||
onSave () {
|
||||
onSave() {
|
||||
if (!this.isParticipant) {
|
||||
this.addParticipant();
|
||||
}
|
||||
|
Reference in New Issue
Block a user