mirror of
https://github.com/inventree/InvenTree.git
synced 2026-10-22 01:40:46 +00:00
Wrap values() call in list to fix type error (#9460)
This commit is contained in:
1 parent
6021035e3f
commit
721f56f36e
1 file changed
+1
-1
@@ -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):
|
||||
|
||||
Reference in new issue
Block a user