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

update terms and condition

This commit is contained in:
杨顺强
2023-12-08 15:19:00 +08:00
parent 58c8013360
commit bb5ce5e233
2 changed files with 10 additions and 3 deletions

View File

@@ -38,7 +38,7 @@ class TermsEditorDialog extends React.Component {
this.props.onCloseEditorDialog();
};
onValueChanged = () => {
onContentChanged = () => {
return this.setState({isValueChanged: true});
};
@@ -68,7 +68,7 @@ class TermsEditorDialog extends React.Component {
<SimpleEditor
ref={this.editorRef}
value={content || ''}
onValueChanged={this.onValueChanged}
onContentChanged={this.onContentChanged}
/>
</ModalBody>
</Modal>