Skip to content

Commit

Permalink
Filtro artistas corregido
Browse files Browse the repository at this point in the history
  • Loading branch information
Korin committed Feb 8, 2024
1 parent cf934dd commit 06bae63
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,10 @@ ${movementOptions.join("")}`;
document
.querySelector("#artist-filter")
.addEventListener("change", function (event) {
const artistDisplay = event.target.value;
document.querySelector("#artmovement-filter").value = "Corrientes";
document.querySelector("#alphabetical-order").value = "Ordenar";
const artistCards = filterData(currentData, "artistName", artistDisplay);
const artistDisplay = event.target.value;
const artistCards = filterData(data, "artistName", artistDisplay);
currentData = [...artistCards];
const filteredCards = renderItems(artistCards);
const clearScreen = document.querySelector("#root");
Expand Down

0 comments on commit 06bae63

Please sign in to comment.