4
1
mirror of https://github.com/Qortal/qortal-ui.git synced 2025-02-11 09:45:52 +00:00

Fix 'path' missing in URL parsing

This commit is contained in:
QuickMythril 2024-02-03 22:36:34 -05:00
parent e15a68f180
commit 762b2a896d

View File

@ -270,7 +270,6 @@ class WebBrowser extends LitElement {
const name = parts[0]
parts.shift()
let identifier
let path
if (parts.length > 0) {
identifier = parts[0] // Do not shift yet
// Check if a resource exists with this service, name and identifier combination
@ -286,6 +285,7 @@ class WebBrowser extends LitElement {
identifier = null
}
}
const path = parts.join("/")
const components = {}
components["service"] = service
components["name"] = name