bfg-common 1.5.275 → 1.5.276

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.
@@ -105,9 +105,12 @@ watch(
105
105
  const headItems = computed<UI_I_HeadItem[]>(() =>
106
106
  table[props.type].headItems(localization.value)
107
107
  )
108
- const columnKeys = computed<UI_I_ColumnKey[]>(table[props.type].columnKeys(localization.value))
109
- watch(localization, () => {
110
- columnKeys.value = table[props.type].columnKeys(localization.value)
108
+
109
+ // const columnKeys = computed<UI_I_ColumnKey[]>(table[props.type]?.columnKeys(localization.value))
110
+ const columnKeys = computed<UI_I_ColumnKey[]>(() => {
111
+ // сделано так, потому что возникали ошибки — непонятно, почему в Сфере не открывался визард из-за этого."
112
+ if (props.type === 'host') return hostTable.columnKeys(localization.value)
113
+ else return table[props.type].columnKeys(localization.value)
111
114
  })
112
115
 
113
116
  const bodyItems = computed<UI_I_BodyItem[][]>(() => {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "bfg-common",
3
3
  "private": false,
4
- "version": "1.5.275",
4
+ "version": "1.5.276",
5
5
  "scripts": {
6
6
  "build": "nuxt build",
7
7
  "dev": "nuxt dev --port=3002",