mirror of
https://github.com/inventree/InvenTree.git
synced 2025-06-16 03:55:41 +00:00
Wrap values() call in list to fix type error (#9460)
This commit is contained in:
@ -807,7 +807,7 @@ class IconList(ListAPI):
|
|||||||
|
|
||||||
def get_queryset(self):
|
def get_queryset(self):
|
||||||
"""Return a list of all available icon packages."""
|
"""Return a list of all available icon packages."""
|
||||||
return get_icon_packs().values()
|
return list(get_icon_packs().values())
|
||||||
|
|
||||||
|
|
||||||
class SelectionListList(ListCreateAPI):
|
class SelectionListList(ListCreateAPI):
|
||||||
|
Reference in New Issue
Block a user