mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-20 02:48:51 +00:00
update ce EmailInterval (#5615)
This commit is contained in:
@@ -2,7 +2,7 @@ import React from 'react';
|
||||
import ReactDom from 'react-dom';
|
||||
import { navigate } from '@gatsbyjs/reach-router';
|
||||
import { Utils } from './utils/utils';
|
||||
import { isPro, gettext, siteRoot, mediaUrl, logoPath, logoWidth, logoHeight, siteTitle } from './utils/constants';
|
||||
import { isPro, isDBSqlite3, gettext, siteRoot, mediaUrl, logoPath, logoWidth, logoHeight, siteTitle } from './utils/constants';
|
||||
import { seafileAPI } from './utils/seafile-api';
|
||||
import toaster from './components/toast';
|
||||
import CommonToolbar from './components/toolbar/common-toolbar';
|
||||
@@ -138,7 +138,7 @@ class Settings extends React.Component {
|
||||
{enableAddressBook && this.state.userInfo &&
|
||||
<ListInAddressBook userInfo={this.state.userInfo} updateUserInfo={this.updateUserInfo} />}
|
||||
<LanguageSetting />
|
||||
{isPro && <EmailNotice />}
|
||||
{(isPro || !isDBSqlite3) && <EmailNotice />}
|
||||
{twoFactorAuthEnabled && <TwoFactorAuthentication />}
|
||||
{enableWechatWork && <SocialLogin />}
|
||||
{enableDingtalk && <SocialLoginDingtalk />}
|
||||
|
@@ -52,10 +52,8 @@ window.app.pageOptions = {
|
||||
return list;
|
||||
})(),
|
||||
|
||||
{% if is_pro %}
|
||||
fileUpdatesEmailInterval: {{ file_updates_email_interval }},
|
||||
collaborateEmailInterval: {{ collaborate_email_interval }},
|
||||
{% endif %}
|
||||
|
||||
twoFactorAuthEnabled: {% if two_factor_auth_enabled %} true {% else %} false {% endif %},
|
||||
{% if two_factor_auth_enabled %}
|
||||
|
Reference in New Issue
Block a user