Skip to content

Commit

Permalink
Merge pull request #4359 from owid/row-key-images-table
Browse files Browse the repository at this point in the history
🐝 set row key on images table
  • Loading branch information
danyx23 authored Jan 7, 2025
2 parents d936a32 + 7d2ff2b commit c8cf78e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion adminSiteClient/ImagesIndexPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -657,7 +657,11 @@ export function ImageIndexPage() {
/>
<PostImageButton postImage={api.postImage} />
</Flex>
<Table columns={columns} dataSource={filteredImages} />
<Table
columns={columns}
dataSource={filteredImages}
rowKey={(x) => x.id}
/>
</main>
</NotificationContext.Provider>
</AdminLayout>
Expand Down

0 comments on commit c8cf78e

Please sign in to comment.