feat: show path variable friendly in tool edit (#7344)

pull/7385/head
wellCh4n 2 years ago committed by GitHub
parent a2fafee53a
commit 9e6b755f62
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -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…
Cancel
Save