@datagrok/helm 2.1.33 → 2.1.34
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/CHANGELOG.md +4 -0
- package/dist/package-test.js.map +1 -1
- package/dist/package.js +1 -1
- package/dist/package.js.map +1 -1
- package/package.json +1 -1
- package/src/cell-renderer.ts +3 -5
package/package.json
CHANGED
package/src/cell-renderer.ts
CHANGED
|
@@ -152,11 +152,9 @@ function getRendererGridCellTemp(gridCell: DG.GridCell
|
|
|
152
152
|
try { gridCol = gridCell.gridColumn; } catch { gridCol = null; }
|
|
153
153
|
temp = gridCol ? gridCol.temp as RendererGridCellTemp : null;
|
|
154
154
|
|
|
155
|
-
|
|
156
|
-
if (!temp)
|
|
157
|
-
|
|
158
|
-
temp = tableCol ? tableCol.temp as RendererGridCellTemp : null;
|
|
159
|
-
}
|
|
155
|
+
const tableCol: DG.Column = gridCell.cell.column;
|
|
156
|
+
if (!temp) temp = tableCol.temp;
|
|
157
|
+
|
|
160
158
|
if (temp === null) throw new Error(`Monomer placer store (GridColumn or Column) not found.`);
|
|
161
159
|
return [gridCol, tableCol, temp];
|
|
162
160
|
}
|