Skip to content

Commit

Permalink
Fix Admin UI breaking in Safari because of usage of iterator helpers (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
emmatown authored Jan 23, 2025
1 parent a2ee52e commit 5c99428
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/good-pumpkins-juggle.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@keystone-6/core": patch
---

Fix Admin UI breaking in Safari because of usage of iterator helpers
Original file line number Diff line number Diff line change
Expand Up @@ -577,7 +577,7 @@ function ListTable ({
}) {
const list = useList(listKey)
const { query } = useRouter()
const shouldShowLinkIcon = selectedFields.keys().some((k, i) => !list.fields[k].views.Cell.supportsLinkTo && i === 0)
const shouldShowLinkIcon = [...selectedFields].some((k, i) => !list.fields[k].views.Cell.supportsLinkTo && i === 0)
return (
<Box paddingBottom="xlarge">
<TableContainer>
Expand Down

0 comments on commit 5c99428

Please sign in to comment.