tsv2-library 1.0.61-alpha.122 → 1.0.61-alpha.123

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.
@@ -51768,7 +51768,7 @@ async function readConfig(tableId, defaultColumns) {
51768
51768
  const {
51769
51769
  data: { data: tableConfig }
51770
51770
  } = await ColumnServices.getColumnSetup(tableId);
51771
- if (tableConfig) {
51771
+ if (tableConfig && tableConfig.length > 0) {
51772
51772
  return tableConfig.map((conf) => {
51773
51773
  const foundCol = defaultColumns.find((col) => col.field === conf.field);
51774
51774
  if (!foundCol || foundCol.visible === false)
@@ -52023,7 +52023,6 @@ const _sfc_main$13 = /* @__PURE__ */ defineComponent({
52023
52023
  field: col.field,
52024
52024
  width: col.width ?? "max-content",
52025
52025
  visible: col.visible !== false,
52026
- fixed: !!col.fixed,
52027
52026
  pinned: !!col.pinned
52028
52027
  };
52029
52028
  }
@@ -52835,7 +52834,6 @@ const _sfc_main$12 = /* @__PURE__ */ defineComponent({
52835
52834
  return {
52836
52835
  field: column.field,
52837
52836
  visible: column.visible !== false,
52838
- fixed: !!column.fixed,
52839
52837
  pinned: !!column.pinned,
52840
52838
  width: colElement ? getComputedStyle(colElement).width : column.width ?? "max-content"
52841
52839
  };