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:
@ -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):
|
||||
|
Reference in New Issue
Block a user