mirror of https://github.com/langgenius/dify.git
just add
This commit is contained in:
parent
42a55a3c64
commit
d9659e470a
|
|
@ -111,8 +111,6 @@ const ConfigVar: FC<IConfigVarProps> = ({ promptVariables, readonly, onPromptVar
|
|||
})
|
||||
const duplicateError = getDuplicateError(newPromptVariables)
|
||||
if (duplicateError) {
|
||||
// const a = t(duplicateError.errorMsgKey as any, { ns: 'appDebug' }),
|
||||
|
||||
Toast.notify({
|
||||
type: 'error',
|
||||
message: t(duplicateError.errorMsgKey as I18nKeysByPrefix<'appDebug', 'duplicateError.'>, { ns: 'appDebug', key: t(duplicateError.typeName as I18nKeysByPrefix<'appDebug', 'duplicateError.'>, { ns: 'appDebug' }) }) as string,
|
||||
|
|
|
|||
Loading…
Reference in New Issue