mirror of
https://git.mirrors.martin98.com/https://github.com/langgenius/dify.git
synced 2025-08-18 03:45:55 +08:00
fix: cannot update webapp copyright info
This commit is contained in:
parent
31086a1fbf
commit
02606ba3c7
@ -29,7 +29,6 @@ import AppIconPicker from '@/app/components/base/app-icon-picker'
|
|||||||
import I18n from '@/context/i18n'
|
import I18n from '@/context/i18n'
|
||||||
import cn from '@/utils/classnames'
|
import cn from '@/utils/classnames'
|
||||||
import { useGlobalPublicStore } from '@/context/global-public-context'
|
import { useGlobalPublicStore } from '@/context/global-public-context'
|
||||||
import { IS_CE_EDITION } from '@/config'
|
|
||||||
|
|
||||||
export type ISettingsModalProps = {
|
export type ISettingsModalProps = {
|
||||||
isChat: boolean
|
isChat: boolean
|
||||||
@ -179,7 +178,7 @@ const SettingsModal: FC<ISettingsModalProps> = ({
|
|||||||
chat_color_theme: inputInfo.chatColorTheme,
|
chat_color_theme: inputInfo.chatColorTheme,
|
||||||
chat_color_theme_inverted: inputInfo.chatColorThemeInverted,
|
chat_color_theme_inverted: inputInfo.chatColorThemeInverted,
|
||||||
prompt_public: false,
|
prompt_public: false,
|
||||||
copyright: IS_CE_EDITION
|
copyright: !webappCopyrightEnabled
|
||||||
? ''
|
? ''
|
||||||
: inputInfo.copyrightSwitchValue
|
: inputInfo.copyrightSwitchValue
|
||||||
? inputInfo.copyright
|
? inputInfo.copyright
|
||||||
|
Loading…
x
Reference in New Issue
Block a user