feat: show path variable friendly in tool edit (#7344)
This commit is contained in:
@@ -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) {
|
||||||
|
Reference in New Issue
Block a user