Fixed locations dropdown in Assets view

This commit is contained in:
2025-10-26 10:14:45 +01:00
parent 17cc9243b5
commit 1ea286cf9c
3 changed files with 55 additions and 2 deletions

View File

@@ -126,7 +126,7 @@ async function loadLocationsIntoSelect(selectElement, selectedValue = null) {
selectElement.innerHTML = `<option value="">${appTranslations.selectLocation}</option>`;
locations.forEach(loc => {
const text = `${loc.description.Location}, Room ${loc.description.RoomNumber}, Seat ${loc.description.Seat}`;
const text = `${loc.location}`;
const option = document.createElement('option');
option.value = loc.location;
option.textContent = text;