@things-factory/reference-app 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.
Files changed (2) hide show
  1. package/client/bootstrap.js +13 -0
  2. package/package.json +10 -10
@@ -193,6 +193,19 @@ export default async function bootstrap() {
193
193
  })
194
194
  }
195
195
 
196
+ if (await hasPrivilege({ name: 'mutation', category: 'state-register', domainOwnerGranted: true })) {
197
+ store.dispatch({
198
+ type: ADD_MORENDA,
199
+ morenda: {
200
+ icon: html` <mwc-icon>app_registration</mwc-icon> `,
201
+ name: html` <ox-i18n msgid="title.state-register"></ox-i18n> `,
202
+ action: () => {
203
+ navigate('state-register-page')
204
+ }
205
+ }
206
+ })
207
+ }
208
+
196
209
  auth.on('profile', async ({ credential }) => {
197
210
  if (credential.owner) {
198
211
  store.dispatch({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@things-factory/reference-app",
3
- "version": "6.2.34",
3
+ "version": "6.2.36",
4
4
  "main": "dist-server/index.js",
5
5
  "browser": "client/index.js",
6
6
  "things-factory": true,
@@ -71,25 +71,25 @@
71
71
  "@things-factory/apptool-ui": "^6.2.34",
72
72
  "@things-factory/attachment-base": "^6.2.34",
73
73
  "@things-factory/auth-ui": "^6.2.34",
74
- "@things-factory/board-service": "^6.2.34",
75
- "@things-factory/board-ui": "^6.2.34",
76
- "@things-factory/ccp": "^6.2.34",
74
+ "@things-factory/board-service": "^6.2.35",
75
+ "@things-factory/board-ui": "^6.2.35",
76
+ "@things-factory/ccp": "^6.2.35",
77
77
  "@things-factory/contact": "^6.2.34",
78
78
  "@things-factory/context-ui": "^6.2.34",
79
- "@things-factory/dashboard": "^6.2.34",
80
- "@things-factory/dataset": "^6.2.34",
79
+ "@things-factory/dashboard": "^6.2.35",
80
+ "@things-factory/dataset": "^6.2.35",
81
81
  "@things-factory/export-ui": "^6.2.34",
82
82
  "@things-factory/export-ui-excel": "^6.2.34",
83
83
  "@things-factory/help": "^6.2.34",
84
- "@things-factory/integration-ui": "^6.2.34",
85
- "@things-factory/lite-menu": "^6.2.34",
84
+ "@things-factory/integration-ui": "^6.2.35",
85
+ "@things-factory/lite-menu": "^6.2.35",
86
86
  "@things-factory/more-ui": "^6.2.34",
87
87
  "@things-factory/notification": "^6.2.34",
88
88
  "@things-factory/oauth2-client": "^6.2.34",
89
89
  "@things-factory/organization": "^6.2.34",
90
90
  "@things-factory/print-ui": "^6.2.34",
91
91
  "@things-factory/product-base": "^6.2.34",
92
- "@things-factory/qc": "^6.2.34",
92
+ "@things-factory/qc": "^6.2.35",
93
93
  "@things-factory/resource-ui": "^6.2.34",
94
94
  "@things-factory/routing-base": "^6.2.34",
95
95
  "@things-factory/setting-base": "^6.2.34",
@@ -104,5 +104,5 @@
104
104
  "devDependencies": {
105
105
  "@things-factory/builder": "^6.2.33"
106
106
  },
107
- "gitHead": "c1bf972f4b3b088638923bbf62badb572e1e6401"
107
+ "gitHead": "233e12997fe115175f88ec6bf1bc9c48cc4400a2"
108
108
  }