Skip to content

Commit 457abf9

Browse files
committed
Update hetero-list.js
1 parent eddac2b commit 457abf9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/js/components/dropdowns/hetero-list.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ function generateButtons() {
172172
*/
173173
function toggleButtonState() {
174174
const templateCount = templates.length;
175-
const selectedCount = [...e.children].filter((e) =>
175+
const selectedCount = Array.from(e.children).filter((e) =>
176176
e.classList.contains("repeated-chunk"),
177177
).length;
178178

0 commit comments

Comments
 (0)