2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-07-04 12:40:57 +00:00

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

(cherry picked from commit 721f56f36e)

Co-authored-by: Joe Rogers <1337joe@users.noreply.github.com>
This commit is contained in:
github-actions[bot]
2025-04-05 09:20:38 +11:00
committed by GitHub
parent 2a9d737157
commit 1dd056fdf2

View File

@ -805,7 +805,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):