mirror of https://github.com/langgenius/dify.git
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 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<ISettingsModalProps> = ({
|
|||
chat_color_theme: inputInfo.chatColorTheme,
|
||||
chat_color_theme_inverted: inputInfo.chatColorThemeInverted,
|
||||
prompt_public: false,
|
||||
copyright: IS_CE_EDITION
|
||||
copyright: !webappCopyrightEnabled
|
||||
? ''
|
||||
: inputInfo.copyrightSwitchValue
|
||||
? inputInfo.copyright
|
||||
|
|
Loading…
Reference in New Issue