@everchron/ec-shards 5.0.65 → 5.0.67

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@everchron/ec-shards",
3
- "version": "5.0.65",
3
+ "version": "5.0.67",
4
4
  "private": false,
5
5
  "description": "Everchron Shards UI Library",
6
6
  "repository": "https://github.com/everchron/ec-shards.git",
@@ -211,12 +211,14 @@
211
211
  cell.style.width = `${ currentColumnWidth }px`
212
212
  })
213
213
 
214
- let headName = this.name.toLowerCase().replace(' ', '-')
214
+ let headName = this.computedId.toLowerCase().replace(' ', '-')
215
+ debugger
215
216
  const lastIndex = headName.lastIndexOf('-')
216
217
  headName = headName.substring(0, lastIndex)
217
- console.log('headName', '[data-headname=documents-' + headName + '-column-head]')
218
+ console.log('headName', '[data-headname=' + headName + '-column-head]')
219
+ console.log('computedId', this.computedId)
218
220
  let columnHeads = document.querySelectorAll('[data-headname="documents-' + headName + '-column-head"]')
219
- console.log('columnHeads')
221
+ console.log('columnHeads', columnHeads)
220
222
  columnHeads.forEach(cell => {
221
223
  // if (cell.parentElement && cell.parentElement.__vue__ && typeof cell.parentElement.__vue__.setWidth === 'function')
222
224
  // cell.parentElement.__vue__.setWidth(currentColumnWidth)