mirror of
https://github.com/Qortal/qortal-ui.git
synced 2025-02-11 17:55:51 +00:00
Merge pull request #255 from QuickMythril/fix-qortal-urls
Fix 'path' missing in URL parsing
This commit is contained in:
commit
0ac0abb1b8
@ -270,7 +270,6 @@ class WebBrowser extends LitElement {
|
|||||||
const name = parts[0]
|
const name = parts[0]
|
||||||
parts.shift()
|
parts.shift()
|
||||||
let identifier
|
let identifier
|
||||||
let path
|
|
||||||
if (parts.length > 0) {
|
if (parts.length > 0) {
|
||||||
identifier = parts[0] // Do not shift yet
|
identifier = parts[0] // Do not shift yet
|
||||||
// Check if a resource exists with this service, name and identifier combination
|
// Check if a resource exists with this service, name and identifier combination
|
||||||
@ -286,6 +285,7 @@ class WebBrowser extends LitElement {
|
|||||||
identifier = null
|
identifier = null
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
const path = parts.join("/")
|
||||||
const components = {}
|
const components = {}
|
||||||
components["service"] = service
|
components["service"] = service
|
||||||
components["name"] = name
|
components["name"] = name
|
||||||
|
Loading…
x
Reference in New Issue
Block a user