4
1
mirror of https://github.com/Qortal/qortal-ui.git synced 2025-02-11 17:55:51 +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] 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