mirror of
https://git.mirrors.martin98.com/https://github.com/langgenius/dify.git
synced 2025-08-16 14:35:54 +08:00
feat: show path variable friendly in tool edit (#7344)
This commit is contained in:
parent
a2fafee53a
commit
9e6b755f62
@ -169,7 +169,7 @@ const EditCustomCollectionModal: FC<Props> = ({
|
||||
return ''
|
||||
|
||||
try {
|
||||
const path = new URL(url).pathname
|
||||
const path = decodeURI(new URL(url).pathname)
|
||||
return path || ''
|
||||
}
|
||||
catch (e) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user