Skip to content

Commit aa785aa

Browse files
committed
fix: relativePath computation in config editor
1 parent 35ea887 commit aa785aa

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

app/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "nginx-ui-app-next",
33
"type": "module",
4-
"version": "2.1.15",
4+
"version": "2.1.16",
55
"packageManager": "[email protected]+sha512.37ebf1a5c7a30d5fabe0c5df44ee8da4c965ca0c5af3dbab28c3a1681b70a256218d05c81c9c0dcf767ef6b8551eb5b960042b9ed4300c59242336377e01cfad",
66
"scripts": {
77
"dev": "vite --host",

app/src/version.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"version":"2.1.15","build_id":1,"total_build":466}
1+
{"version":"2.1.16","build_id":1,"total_build":467}

app/src/views/config/components/ConfigLeftPanel.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ const newPath = computed(() => {
4747
return path
4848
})
4949
50-
const relativePath = computed(() => (basePath.value ? `${basePath.value}/${route.params.name}` : route.params.name) as string)
50+
const relativePath = computed(() => (basePath.value ? `${basePath.value}/${route.params.name.toString()}` : route.params.name.toString()))
5151
const breadcrumbs = useBreadcrumbs()
5252
5353
// Use Vue 3.4+ useTemplateRef for InspectConfig component

0 commit comments

Comments
 (0)