Skip to content

Commit c692f4c

Browse files
committed
[nested-grid] Fix crash when exporting
1 parent cb3ec51 commit c692f4c

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,13 @@
22

33
> Committed but unreleased changes are put here, at the top. Older releases are detailed chronologically below.
44
5+
## 2.23.1 (2025-01-07)
6+
7+
#### Fixed
8+
9+
- `nested-grid`: Fixed crash when exporting
10+
11+
512
## 2.23.0 (2025-01-07)
613

714
#### Changed

src/re_com/nested_grid.cljs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -804,8 +804,8 @@
804804
export-corner-headers #(mapv (fn [x]
805805
(mapv (fn [y]
806806
(on-export-corner-header {:row-index y :column-index x}))
807-
(range @row-depth)))
808-
(range @column-depth))
807+
(range row-depth)))
808+
(range column-depth))
809809
export-column-headers #(let [export-path (fn [path]
810810
(on-export-column-header {:path path :row-path path}))]
811811
(transpose (mapv (fn [path] (mapv export-path (ancestry path)))

0 commit comments

Comments
 (0)