@things-factory/operato-board 6.0.99 → 6.0.104
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 +11 -12
- package/dist-server/tsconfig.tsbuildinfo +1 -1
- package/package.json +33 -33
- package/schema.gql +91 -0
package/client/bootstrap.js
CHANGED
|
@@ -37,8 +37,18 @@ export default function bootstrap() {
|
|
|
37
37
|
|
|
38
38
|
/* set auth management menus into more-panel */
|
|
39
39
|
auth.on('profile', async ({ credential }) => {
|
|
40
|
-
console.log('on profile', credential)
|
|
41
40
|
setAuthManagementMenus(credential)
|
|
41
|
+
|
|
42
|
+
store.dispatch({
|
|
43
|
+
type: ADD_MORENDA,
|
|
44
|
+
morenda: {
|
|
45
|
+
icon: html` <mwc-icon>vpn_key</mwc-icon> `,
|
|
46
|
+
name: html` <ox-i18n msgid="text.oauth2-clients"></ox-i18n> `,
|
|
47
|
+
action: () => {
|
|
48
|
+
navigate('oauth2-clients')
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
})
|
|
42
52
|
})
|
|
43
53
|
|
|
44
54
|
/* append viewpart anchor to asidebar */
|
|
@@ -52,17 +62,6 @@ export default function bootstrap() {
|
|
|
52
62
|
position: VIEWPART_POSITION.ASIDEBAR
|
|
53
63
|
})
|
|
54
64
|
|
|
55
|
-
store.dispatch({
|
|
56
|
-
type: ADD_MORENDA,
|
|
57
|
-
morenda: {
|
|
58
|
-
icon: html` <mwc-icon>vpn_key</mwc-icon> `,
|
|
59
|
-
name: html` <ox-i18n msgid="text.oauth2-clients"></ox-i18n> `,
|
|
60
|
-
action: () => {
|
|
61
|
-
navigate('oauth2-clients')
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
})
|
|
65
|
-
|
|
66
65
|
store.dispatch({
|
|
67
66
|
type: ADD_MORENDA,
|
|
68
67
|
morenda: {
|