@everchron/ec-shards 5.0.68 → 5.0.69

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