Handle leading double slash when displaying REST queries in navigation
This commit is contained in:
parent
e34895989b
commit
02725e08d2
|
@ -116,8 +116,8 @@ export function customQueryText(datasource, query) {
|
|||
|
||||
// Remove protocol
|
||||
let name = query.name
|
||||
if (name.includes("://")) {
|
||||
name = name.split("://")[1]
|
||||
if (name.includes("//")) {
|
||||
name = name.split("//")[1]
|
||||
}
|
||||
|
||||
// If no path, return the full name
|
||||
|
|
Loading…
Reference in New Issue