2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-14 19:15:41 +00:00

Wrap values() call in list to fix type error (#9460)

This commit is contained in:
Joe Rogers
2025-04-05 00:13:53 +02:00
committed by GitHub
parent 6021035e3f
commit 721f56f36e

View File

@ -807,7 +807,7 @@ class IconList(ListAPI):
def get_queryset(self):
"""Return a list of all available icon packages."""
return get_icon_packs().values()
return list(get_icon_packs().values())
class SelectionListList(ListCreateAPI):