fix 1
This commit is contained in:
@@ -43,7 +43,10 @@ window.renderBuildingDropdown = function() {
|
||||
const option = document.createElement('option');
|
||||
option.value = key;
|
||||
|
||||
if (isLocked) {
|
||||
if (data.has_max_level) {
|
||||
option.textContent = `${text} — (Μέγιστο Επίπεδο)`;
|
||||
option.style.color = '#33aa33';
|
||||
} else if (isLocked) {
|
||||
option.textContent = `${text} — 🔒 Κλειδωμένο (Προϋποθέσεις)`;
|
||||
option.style.color = '#ff4444'; // Red as requested
|
||||
} else if (data.can_upgrade === true) {
|
||||
|
||||
Reference in New Issue
Block a user