Skip to content

Commit

Permalink
remove data-list-item-id
Browse files Browse the repository at this point in the history
  • Loading branch information
rmccar committed Sep 18, 2024
1 parent b7cd8b7 commit 294ab12
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion app/jinja_filters.py
Original file line number Diff line number Diff line change
Expand Up @@ -665,7 +665,6 @@ def map_list_config(list_values: list[dict]) -> list[dict]:

item["attributes"] = {
"data-qa": f"list-item-{index}-label",
"data-list-item-id": value["list_item_id"],
}

items_list.append(item)
Expand Down
2 changes: 0 additions & 2 deletions tests/app/test_jinja_filters.py
Original file line number Diff line number Diff line change
Expand Up @@ -1367,14 +1367,12 @@ def test_map_list_config():
"iconType": "check",
"attributes": {
"data-qa": "list-item-1-label",
"data-list-item-id": "1",
},
},
{
"text": "Clark Kent",
"attributes": {
"data-qa": "list-item-2-label",
"data-list-item-id": "2",
},
},
]
Expand Down

0 comments on commit 294ab12

Please sign in to comment.