diff --git a/frontend/src/settings.js b/frontend/src/settings.js index feaa8e5993..8e2b3c3807 100644 --- a/frontend/src/settings.js +++ b/frontend/src/settings.js @@ -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 && } - {isPro && } + {(isPro || !isDBSqlite3) && } {twoFactorAuthEnabled && } {enableWechatWork && } {enableDingtalk && } diff --git a/seahub/profile/templates/profile/set_profile_react.html b/seahub/profile/templates/profile/set_profile_react.html index 5d99eb384d..a79bed27f9 100644 --- a/seahub/profile/templates/profile/set_profile_react.html +++ b/seahub/profile/templates/profile/set_profile_react.html @@ -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 %}