UI: Improve multi OS display #205

Merged
Oleg-Komarov merged 40 commits from ui/multi-os into main 2024-07-16 07:24:07 +02:00
Showing only changes of commit 63bf8aa192 - Show all commits

View File

@ -728,7 +728,7 @@ class Version(CreatedModifiedMixin, TrackChangesMixin, models.Model):
supported_platforms[platform.name_first_word] = architectures supported_platforms[platform.name_first_word] = architectures
result = [] result = []
for platform, architectures in sorted(supported_platforms.items()): for platform, architectures in sorted(supported_platforms.items()):
item = {'name': platform, 'architectures': architectures} item = {'name': platform, 'architectures': sorted(architectures)}
result.append(item) result.append(item)
return result return result