BUILD126 - легкие правки по интерфейсу
This commit is contained in:
@@ -574,7 +574,7 @@ class UIBuilderManager:
|
||||
"description": str(selector.get("description") or "")[:300],
|
||||
"group_id": group_id if group_id in valid_group_ids else "",
|
||||
"button_id": button_id if button_id in valid_button_ids else "",
|
||||
"style": "select" if str(selector.get("style") or "segments") == "select" else "segments",
|
||||
"style": str(selector.get("style") or "segments") if str(selector.get("style") or "segments") in {"segments", "select", "periods"} else "segments",
|
||||
"options": options,
|
||||
"default_value": default_value,
|
||||
"sort_order": int(selector.get("sort_order") if str(selector.get("sort_order", "")).lstrip("-").isdigit() else selector_index * 10),
|
||||
|
||||
Reference in New Issue
Block a user