(filename, size)
| 7841 | dropdown.appendChild(placeholderOption); |
| 7842 | |
| 7843 | // Add tags |
| 7844 | tags.forEach(tag => { |
| 7845 | const option = document.createElement('option'); |
| 7846 | option.value = tag.name; |
| 7847 | option.textContent = tag.name; |
| 7848 | option.selected = currentSelection.includes(tag.name); |
| 7849 | dropdown.appendChild(option); |
| 7850 | }); |
| 7851 | }); |
| 7852 | } catch (error) { |
| 7853 | console.error('Error updating tag dropdowns:', error); |
no test coverage detected