@things-factory/operato-hub 3.6.37 → 3.6.38

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.
@@ -337,7 +337,7 @@ class BizplacePage extends connect(store)(PageView) {
337
337
  if (this.active) {
338
338
  if ('resourceId' in changes) {
339
339
  this.bizplace = await this.fetchBizplace(lifecycle.resourceId)
340
- this.bizplaceDomain = await this.fetchBizplaceDomain(this.bizplace.name)
340
+ this.bizplaceDomain = this.bizplace?.domain
341
341
  this.dataChanged = false
342
342
  this.form.addEventListener('change', () => (this.dataChanged = true))
343
343
  }
@@ -379,6 +379,9 @@ class BizplacePage extends connect(store)(PageView) {
379
379
  }
380
380
  domain {
381
381
  id
382
+ name
383
+ subdomain
384
+ extType
382
385
  }
383
386
  updatedAt
384
387
  updater {
@@ -397,18 +400,18 @@ class BizplacePage extends connect(store)(PageView) {
397
400
  return response.data.bizplace
398
401
  }
399
402
 
400
- async fetchBizplaceDomain(name) {
403
+ async fetchBizplaceDomain(id) {
401
404
  const response = await client.query({
402
405
  query: gql`
403
- query domain($name: String!) {
404
- domain(name: $name) {
406
+ query domain($id: String!) {
407
+ domain(id: $id) {
405
408
  name
406
409
  subdomain
407
410
  extType
408
411
  }
409
412
  }
410
413
  `,
411
- variables: { name }
414
+ variables: { id }
412
415
  })
413
416
 
414
417
  return response.data.domain
@@ -469,7 +472,7 @@ class BizplacePage extends connect(store)(PageView) {
469
472
  })
470
473
 
471
474
  if (!response.errors) {
472
- this.bizplaceDomain = await this.fetchBizplaceDomain(this.bizplace.name)
475
+ this.bizplaceDomain = await this.fetchBizplaceDomain(this.bizplace?.domain.id)
473
476
 
474
477
  await CustomAlert({
475
478
  type: 'success',
@@ -526,7 +529,7 @@ class BizplacePage extends connect(store)(PageView) {
526
529
  if (!response.errors) {
527
530
  this.showToast(i18next.t('text.data_updated_successfully'))
528
531
  this.bizplace.name = patch.name
529
- this.bizplaceDomain = await this.fetchBizplaceDomain(this.bizplace.name)
532
+ this.bizplaceDomain = await this.fetchBizplaceDomain(this.bizplace?.domain.id)
530
533
  this.dataChanged = false
531
534
  store.dispatch(fetchHubStatus())
532
535
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@things-factory/operato-hub",
3
- "version": "3.6.37",
3
+ "version": "3.6.38",
4
4
  "main": "dist-server/index.js",
5
5
  "browser": "client/index.js",
6
6
  "things-factory": true,
@@ -41,40 +41,40 @@
41
41
  "@material/mwc-formfield": "^0.22.1",
42
42
  "@material/mwc-linear-progress": "^0.22.1",
43
43
  "@material/mwc-radio": "^0.22.1",
44
- "@things-factory/api": "^3.6.37",
45
- "@things-factory/apptool-ui": "^3.6.37",
46
- "@things-factory/attachment-base": "^3.6.37",
47
- "@things-factory/auth-base": "^3.6.37",
48
- "@things-factory/auth-ui": "^3.6.37",
49
- "@things-factory/biz-base": "^3.6.37",
50
- "@things-factory/biz-ui": "^3.6.37",
51
- "@things-factory/board-service": "^3.6.37",
52
- "@things-factory/board-ui": "^3.6.37",
53
- "@things-factory/code-ui": "^3.6.37",
44
+ "@things-factory/api": "^3.6.38",
45
+ "@things-factory/apptool-ui": "^3.6.38",
46
+ "@things-factory/attachment-base": "^3.6.38",
47
+ "@things-factory/auth-base": "^3.6.38",
48
+ "@things-factory/auth-ui": "^3.6.38",
49
+ "@things-factory/biz-base": "^3.6.38",
50
+ "@things-factory/biz-ui": "^3.6.38",
51
+ "@things-factory/board-service": "^3.6.38",
52
+ "@things-factory/board-ui": "^3.6.38",
53
+ "@things-factory/code-ui": "^3.6.38",
54
54
  "@things-factory/component-ui": "^3.6.37",
55
- "@things-factory/context-ui": "^3.6.37",
56
- "@things-factory/document-template-ui": "^3.6.37",
57
- "@things-factory/export-ui": "^3.6.37",
58
- "@things-factory/export-ui-csv": "^3.6.37",
59
- "@things-factory/export-ui-excel": "^3.6.37",
55
+ "@things-factory/context-ui": "^3.6.38",
56
+ "@things-factory/document-template-ui": "^3.6.38",
57
+ "@things-factory/export-ui": "^3.6.38",
58
+ "@things-factory/export-ui-csv": "^3.6.38",
59
+ "@things-factory/export-ui-excel": "^3.6.38",
60
60
  "@things-factory/grist-ui": "^3.6.37",
61
- "@things-factory/i18n-base": "^3.6.37",
62
- "@things-factory/i18n-ui": "^3.6.37",
63
- "@things-factory/import-ui": "^3.6.37",
64
- "@things-factory/import-ui-excel": "^3.6.37",
65
- "@things-factory/integration-accounting": "^3.6.37",
66
- "@things-factory/integration-fulfillment": "^3.6.37",
67
- "@things-factory/integration-lmd": "^3.6.37",
68
- "@things-factory/integration-marketplace": "^3.6.37",
69
- "@things-factory/integration-pos": "^3.6.37",
70
- "@things-factory/integration-sellercraft": "^3.6.37",
71
- "@things-factory/lite-menu": "^3.6.37",
72
- "@things-factory/more-ui": "^3.6.37",
73
- "@things-factory/notification": "^3.6.37",
61
+ "@things-factory/i18n-base": "^3.6.38",
62
+ "@things-factory/i18n-ui": "^3.6.38",
63
+ "@things-factory/import-ui": "^3.6.38",
64
+ "@things-factory/import-ui-excel": "^3.6.38",
65
+ "@things-factory/integration-accounting": "^3.6.38",
66
+ "@things-factory/integration-fulfillment": "^3.6.38",
67
+ "@things-factory/integration-lmd": "^3.6.38",
68
+ "@things-factory/integration-marketplace": "^3.6.38",
69
+ "@things-factory/integration-pos": "^3.6.38",
70
+ "@things-factory/integration-sellercraft": "^3.6.38",
71
+ "@things-factory/lite-menu": "^3.6.38",
72
+ "@things-factory/more-ui": "^3.6.38",
73
+ "@things-factory/notification": "^3.6.38",
74
74
  "@things-factory/pdf": "^3.6.37",
75
- "@things-factory/product-ui": "^3.6.37",
76
- "@things-factory/resource-ui": "^3.6.37",
77
- "@things-factory/sales-base": "^3.6.37",
75
+ "@things-factory/product-ui": "^3.6.38",
76
+ "@things-factory/resource-ui": "^3.6.38",
77
+ "@things-factory/sales-base": "^3.6.38",
78
78
  "@things-factory/scene-chartjs": "^3.6.37",
79
79
  "@things-factory/scene-clock": "^3.6.37",
80
80
  "@things-factory/scene-clone": "^3.6.37",
@@ -88,7 +88,7 @@
88
88
  "@things-factory/scene-graphql": "^3.6.37",
89
89
  "@things-factory/scene-half-roundrect": "^3.6.37",
90
90
  "@things-factory/scene-indoor-map": "^3.6.37",
91
- "@things-factory/scene-label": "^3.6.37",
91
+ "@things-factory/scene-label": "^3.6.38",
92
92
  "@things-factory/scene-legend": "^3.6.37",
93
93
  "@things-factory/scene-marker": "^3.6.37",
94
94
  "@things-factory/scene-mqtt": "^3.6.37",
@@ -101,11 +101,11 @@
101
101
  "@things-factory/scene-table": "^3.6.37",
102
102
  "@things-factory/scene-visualizer": "^3.6.37",
103
103
  "@things-factory/scene-wheel-sorter": "^3.6.37",
104
- "@things-factory/setting-ui": "^3.6.37",
105
- "@things-factory/shell": "^3.6.37",
106
- "@things-factory/system-ui": "^3.6.37",
107
- "@things-factory/warehouse-base": "^3.6.37",
108
- "@things-factory/worksheet-base": "^3.6.37",
104
+ "@things-factory/setting-ui": "^3.6.38",
105
+ "@things-factory/shell": "^3.6.38",
106
+ "@things-factory/system-ui": "^3.6.38",
107
+ "@things-factory/warehouse-base": "^3.6.38",
108
+ "@things-factory/worksheet-base": "^3.6.38",
109
109
  "koa2-swagger-ui": "^5.0.2",
110
110
  "swagger-jsdoc": "^5.0.0",
111
111
  "yamljs": "^0.3.0"
@@ -116,5 +116,5 @@
116
116
  "resolutions": {
117
117
  "core-js": "^3.16.0"
118
118
  },
119
- "gitHead": "86660eb4367437e7266c4d94aab04eaf4895faf0"
119
+ "gitHead": "95b6401d665c7625d1e5f9e78925571b2fca1cdc"
120
120
  }