@blocklet/meta 1.8.8 → 1.8.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/parse-navigation.js +1 -1
- package/package.json +4 -4
package/lib/parse-navigation.js
CHANGED
|
@@ -101,7 +101,7 @@ const doParseNavigation = (navigation, blocklet, prefix = '/', _level = 1) => {
|
|
|
101
101
|
} else if (childNavigation.length === 1) {
|
|
102
102
|
// child declares one menu
|
|
103
103
|
item.title = nav.title || childNavigation[0].title || childTitle;
|
|
104
|
-
item.link = parseLink(
|
|
104
|
+
item.link = parseLink(childNavigation[0].link || '/', normalizePathPrefix(`${prefix}${child.mountPoint}`));
|
|
105
105
|
result.push(item);
|
|
106
106
|
} else {
|
|
107
107
|
// child declares multiple menus
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"publishConfig": {
|
|
4
4
|
"access": "public"
|
|
5
5
|
},
|
|
6
|
-
"version": "1.8.
|
|
6
|
+
"version": "1.8.9",
|
|
7
7
|
"description": "Library to parse/validate/fix blocklet meta",
|
|
8
8
|
"main": "lib/index.js",
|
|
9
9
|
"files": [
|
|
@@ -18,8 +18,8 @@
|
|
|
18
18
|
"author": "wangshijun <wangshijun2020@gmail.com> (http://github.com/wangshijun)",
|
|
19
19
|
"license": "MIT",
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@abtnode/constant": "1.8.
|
|
22
|
-
"@abtnode/util": "1.8.
|
|
21
|
+
"@abtnode/constant": "1.8.9",
|
|
22
|
+
"@abtnode/util": "1.8.9",
|
|
23
23
|
"@arcblock/did": "1.17.11",
|
|
24
24
|
"@arcblock/did-ext": "1.17.11",
|
|
25
25
|
"@arcblock/did-util": "1.17.11",
|
|
@@ -46,5 +46,5 @@
|
|
|
46
46
|
"devDependencies": {
|
|
47
47
|
"jest": "^27.5.1"
|
|
48
48
|
},
|
|
49
|
-
"gitHead": "
|
|
49
|
+
"gitHead": "1846a1f0bae2f870f3fe635b1f17ed06867d370d"
|
|
50
50
|
}
|