Skip to content

Commit

Permalink
fixed fetching rubeus files grid when gv is active
Browse files Browse the repository at this point in the history
  • Loading branch information
opaduchak committed Feb 10, 2025
1 parent efe5408 commit 8b80729
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions website/project/views/file.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,7 @@ def collect_file_trees(auth, node, **kwargs):
def grid_data(auth, node, **kwargs):
"""View that returns the formatted data for rubeus.js/hgrid
"""
if flag_is_active(request, features.ENABLE_GV):
return {'data': {}}
data = request.args.to_dict()
return {'data': rubeus.to_hgrid(node, auth, **data)}

0 comments on commit 8b80729

Please sign in to comment.