charbelmalo commited on
Commit
81ad533
β€’
1 Parent(s): c85c87e

Fix delete icon selector to target a specific icon in app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -146,7 +146,7 @@ def generate_cards_html(datafra):
146
  }
147
 
148
  function showDeleteIcons() {
149
- const deleteIcons = document.querySelectorAll('[id^="delete-"]');
150
  deleteIcons.forEach(icon => {
151
  icon.style.display = 'block';
152
  });
 
146
  }
147
 
148
  function showDeleteIcons() {
149
+ const deleteIcons = document.querySelectorAll('[id="delete-1"]');
150
  deleteIcons.forEach(icon => {
151
  icon.style.display = 'block';
152
  });