diff --git a/web/app/components/app/overview/settings/index.tsx b/web/app/components/app/overview/settings/index.tsx index 62f3fb5a74..357d7c0196 100644 --- a/web/app/components/app/overview/settings/index.tsx +++ b/web/app/components/app/overview/settings/index.tsx @@ -29,7 +29,6 @@ import AppIconPicker from '@/app/components/base/app-icon-picker' import I18n from '@/context/i18n' import cn from '@/utils/classnames' import { useGlobalPublicStore } from '@/context/global-public-context' -import { IS_CE_EDITION } from '@/config' export type ISettingsModalProps = { isChat: boolean @@ -179,7 +178,7 @@ const SettingsModal: FC = ({ chat_color_theme: inputInfo.chatColorTheme, chat_color_theme_inverted: inputInfo.chatColorThemeInverted, prompt_public: false, - copyright: IS_CE_EDITION + copyright: !webappCopyrightEnabled ? '' : inputInfo.copyrightSwitchValue ? inputInfo.copyright