@things-factory/menu-base 7.1.35 → 7.1.36
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@things-factory/menu-base",
|
|
3
|
-
"version": "7.1.
|
|
3
|
+
"version": "7.1.36",
|
|
4
4
|
"main": "dist-server/index.js",
|
|
5
5
|
"browser": "client/index.js",
|
|
6
6
|
"things-factory": true,
|
|
@@ -26,5 +26,5 @@
|
|
|
26
26
|
"dependencies": {
|
|
27
27
|
"@things-factory/auth-base": "^7.1.33"
|
|
28
28
|
},
|
|
29
|
-
"gitHead": "
|
|
29
|
+
"gitHead": "e754aa01a8daffedefccf9371c31d2a63602ec2a"
|
|
30
30
|
}
|
|
@@ -203,7 +203,7 @@ export class MenuQuery {
|
|
|
203
203
|
|
|
204
204
|
return await getRepository(Menu)
|
|
205
205
|
.createQueryBuilder('menu')
|
|
206
|
-
.where('menu.parent = :parentId', {
|
|
206
|
+
.where('menu.parent = :parentId', { parentId: menu.id })
|
|
207
207
|
.andWhere(
|
|
208
208
|
new Brackets(qb => {
|
|
209
209
|
qb.where('menu.role IN (:...roles)').orWhere('menu.role is null')
|