add data attributes to tree elements (#1507)

This commit is contained in:
Athou
2024-08-03 12:37:33 +02:00
parent 9d9d758fa6
commit 2f4ee7cff8
3 changed files with 17 additions and 1 deletions

View File

@@ -310,6 +310,7 @@ export function FeedEntries() {
ref={el => {
if (el) el.id = Constants.dom.entryId(entry)
}}
data-id={entry.id}
>
<FeedEntry
entry={entry}