@malloydata/render 0.0.82-dev230910221541 → 0.0.82-dev230912225720

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.
@@ -106,7 +106,7 @@ class HTMLTableRenderer extends container_1.ContainerRenderer {
106
106
  for (const innerRow of dc) {
107
107
  const pivotedField = new PivotedField(field, dimensions.map(d => innerRow.cell(d.field)), nonDimensions.length);
108
108
  const pfKey = pivotedField.key;
109
- if (!pivotedFields[pfKey]) {
109
+ if (!pivotedFields.get(pfKey)) {
110
110
  pivotedFields.set(pfKey, pivotedField);
111
111
  }
112
112
  }
@@ -349,7 +349,7 @@ class HTMLTableRenderer extends container_1.ContainerRenderer {
349
349
  }
350
350
  generateNoValueCell(field, shouldTranspose) {
351
351
  const cell = this.createCell(this.childRenderers[field.name], shouldTranspose);
352
- cell.innerHTML = '-';
352
+ cell.textContent = '-';
353
353
  return cell;
354
354
  }
355
355
  async createCellAndRender(childRenderer, value, shouldTranspose) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@malloydata/render",
3
- "version": "0.0.82-dev230910221541",
3
+ "version": "0.0.82-dev230912225720",
4
4
  "license": "MIT",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -18,7 +18,7 @@
18
18
  "prepublishOnly": "npm run build"
19
19
  },
20
20
  "dependencies": {
21
- "@malloydata/malloy": "^0.0.82-dev230910221541",
21
+ "@malloydata/malloy": "^0.0.82-dev230912225720",
22
22
  "@types/luxon": "^2.4.0",
23
23
  "lodash": "^4.17.20",
24
24
  "luxon": "^2.4.0",