mirror of
http://112.124.100.131/huang.ze/ebiz-dify-ai.git
synced 2025-12-10 03:16:51 +08:00
fix LangSmith project config error (#7996)
This commit is contained in:
@@ -48,9 +48,10 @@ const ProviderPanel: FC<Props> = ({
|
||||
e.preventDefault()
|
||||
e.stopPropagation()
|
||||
|
||||
const url = `${config?.host}/project/${config?.project_key}`
|
||||
window.open(url, '_blank', 'noopener,noreferrer')
|
||||
}, [])
|
||||
const url = config?.project_url
|
||||
if (url)
|
||||
window.open(url, '_blank', 'noopener,noreferrer')
|
||||
}, [config?.project_url])
|
||||
|
||||
const handleChosen = useCallback((e: React.MouseEvent) => {
|
||||
e.stopPropagation()
|
||||
|
||||
Reference in New Issue
Block a user