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
result = []
for platform, architectures in sorted(supported_platforms.items()):
item = {'name': platform, 'architectures': architectures}
item = {'name': platform, 'architectures': sorted(architectures)}
result.append(item)
return result