feat: show path variable friendly in tool edit (#7344)
This commit is contained in:
parent
a2fafee53a
commit
9e6b755f62
1 changed files with 1 additions and 1 deletions
|
|
@ -169,7 +169,7 @@ const EditCustomCollectionModal: FC<Props> = ({
|
||||||
return ''
|
return ''
|
||||||
|
|
||||||
try {
|
try {
|
||||||
const path = new URL(url).pathname
|
const path = decodeURI(new URL(url).pathname)
|
||||||
return path || ''
|
return path || ''
|
||||||
}
|
}
|
||||||
catch (e) {
|
catch (e) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue