@things-factory/operato-ecs 6.2.34 → 6.2.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/client/bootstrap.js +13 -0
- package/package.json +10 -10
package/client/bootstrap.js
CHANGED
@@ -143,6 +143,19 @@ export default async function bootstrap() {
|
|
143
143
|
})
|
144
144
|
}
|
145
145
|
|
146
|
+
if (await hasPrivilege({ name: 'mutation', category: 'state-register', domainOwnerGranted: true })) {
|
147
|
+
store.dispatch({
|
148
|
+
type: ADD_MORENDA,
|
149
|
+
morenda: {
|
150
|
+
icon: html` <mwc-icon>app_registration</mwc-icon> `,
|
151
|
+
name: html` <ox-i18n msgid="title.state-register"></ox-i18n> `,
|
152
|
+
action: () => {
|
153
|
+
navigate('state-register-page')
|
154
|
+
}
|
155
|
+
}
|
156
|
+
})
|
157
|
+
}
|
158
|
+
|
146
159
|
auth.on('profile', async ({ credential }) => {
|
147
160
|
store.dispatch({
|
148
161
|
type: ADD_MORENDA,
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@things-factory/operato-ecs",
|
3
|
-
"version": "6.2.
|
3
|
+
"version": "6.2.36",
|
4
4
|
"main": "dist-server/index.js",
|
5
5
|
"browser": "client/index.js",
|
6
6
|
"things-factory": true,
|
@@ -57,18 +57,18 @@
|
|
57
57
|
"@things-factory/api": "^6.2.34",
|
58
58
|
"@things-factory/apptool-ui": "^6.2.34",
|
59
59
|
"@things-factory/auth-ui": "^6.2.34",
|
60
|
-
"@things-factory/board-service": "^6.2.
|
61
|
-
"@things-factory/board-ui": "^6.2.
|
60
|
+
"@things-factory/board-service": "^6.2.35",
|
61
|
+
"@things-factory/board-ui": "^6.2.35",
|
62
62
|
"@things-factory/context-ui": "^6.2.34",
|
63
|
-
"@things-factory/dashboard": "^6.2.
|
63
|
+
"@things-factory/dashboard": "^6.2.35",
|
64
64
|
"@things-factory/export-ui": "^6.2.34",
|
65
65
|
"@things-factory/help": "^6.2.34",
|
66
66
|
"@things-factory/i18n-base": "^6.2.34",
|
67
|
-
"@things-factory/integration-melsec": "^6.2.
|
68
|
-
"@things-factory/integration-modbus": "^6.2.
|
69
|
-
"@things-factory/integration-opc": "^6.2.
|
70
|
-
"@things-factory/integration-ui": "^6.2.
|
71
|
-
"@things-factory/lite-menu": "^6.2.
|
67
|
+
"@things-factory/integration-melsec": "^6.2.35",
|
68
|
+
"@things-factory/integration-modbus": "^6.2.35",
|
69
|
+
"@things-factory/integration-opc": "^6.2.35",
|
70
|
+
"@things-factory/integration-ui": "^6.2.35",
|
71
|
+
"@things-factory/lite-menu": "^6.2.35",
|
72
72
|
"@things-factory/more-ui": "^6.2.34",
|
73
73
|
"@things-factory/notification": "^6.2.34",
|
74
74
|
"@things-factory/oauth2-client": "^6.2.34",
|
@@ -83,5 +83,5 @@
|
|
83
83
|
"devDependencies": {
|
84
84
|
"@things-factory/builder": "^6.2.33"
|
85
85
|
},
|
86
|
-
"gitHead": "
|
86
|
+
"gitHead": "233e12997fe115175f88ec6bf1bc9c48cc4400a2"
|
87
87
|
}
|