mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-25 14:50:29 +00:00
[user settings] modification
This commit is contained in:
@@ -36,10 +36,6 @@ class EmailNotice extends React.Component {
|
||||
|
||||
formSubmit = (e) => {
|
||||
e.preventDefault();
|
||||
const { currentInterval } = this.state;
|
||||
if (currentInterval == initialEmailNotificationInterval) {
|
||||
return;
|
||||
}
|
||||
seafileAPI.updateEmailNotificationInterval(this.state.currentInterval).then((res) => {
|
||||
toaster.success(gettext('Success'));
|
||||
}).catch((error) => {
|
||||
|
Reference in New Issue
Block a user