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
|
-
|
|
109
|
-
|
|
110
|
-
|
|
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[][]>(() => {
|