Добавление данных LyngSat в базу

This commit is contained in:
2025-11-10 17:59:35 +03:00
parent 0858961410
commit b24ef940ce
4 changed files with 96 additions and 7 deletions

View File

@@ -1021,10 +1021,8 @@
const row = checkbox.closest('tr');
const itemId = checkbox.value;
// Check if item is already in the list
const itemExists = window.selectedItems.some(item => item.id === itemId);
if (!itemExists) {
// Create an object containing the row data
const rowData = {
id: itemId,
name: row.cells[1].textContent,