Skip to content

Commit

Permalink
create category
Browse files Browse the repository at this point in the history
  • Loading branch information
Ko71k committed Dec 16, 2024
1 parent 695179e commit 17d36d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion public/src/modules/handleEventsActions.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ export async function loadCategories() {
// Заполнение выпадающего списка
categories.categories.forEach(category => {
const option = document.createElement('option');
option.value = category.ID; // id категории
option.value = category.id; // id категории
option.textContent = category.name; // название категории
selectElement.appendChild(option);
});
Expand Down

0 comments on commit 17d36d4

Please sign in to comment.