2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-07-01 03:00:54 +00:00

[UI] About tweak (#9874)

* Cleanup server info modal

* Sort package info
This commit is contained in:
Oliver
2025-06-26 20:53:23 +10:00
committed by GitHub
parent 370baeff8b
commit 791f7797cb
2 changed files with 13 additions and 11 deletions

View File

@ -73,7 +73,7 @@ def read_license_file(path: Path) -> list:
names.add(name)
output.append({key.lower(): value for key, value in entry.items()})
return output
return sorted(output, key=lambda x: x.get('name', '').lower())
class LicenseViewSerializer(serializers.Serializer):