We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b28fdb9 commit d8eca46Copy full SHA for d8eca46
manifest.json
@@ -1,7 +1,7 @@
1
{
2
"manifest_version": 3,
3
"name": "JSON Pilot",
4
- "version": "1.0.0",
+ "version": "1.0.1",
5
"description": "Take control of your JSON data with powerful viewing tools.",
6
"author": "7 Angle <hello@7angle.com> (https://7angle.com)",
7
"permissions": [
src/App.vue
@@ -130,6 +130,11 @@ const handleNodeSelect = async (paths) => {
130
value = value[key]
131
}
132
133
+ // If it's a root selection (empty path), return the value directly
134
+ if (pathSegments.length === 0) {
135
+ return value
136
+ }
137
+
138
let current = acc
139
for (let i = 0; i < pathSegments.length - 1; i++) {
140
const key = pathSegments[i]
0 commit comments