Skip to content

Commit

Permalink
tempfeat: remove flow results dashboards from list
Browse files Browse the repository at this point in the history
  • Loading branch information
helllllllder committed Jun 13, 2024
1 parent cc7ab9b commit a34e0d0
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions insights/dashboards/viewsets.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,12 @@ class DashboardViewSet(
def get_queryset(self):
project_id = self.request.query_params.get("project", None) # do we need this?
if project_id is not None:
return Dashboard.objects.filter(project_id=project_id).order_by(
"created_on"
return (
Dashboard.objects.filter(project_id=project_id)
.exclude(name="Resultados de fluxos")
.order_by("created_on")
)

return Dashboard.objects.none()

@action(detail=True, methods=["patch"])
Expand Down

0 comments on commit a34e0d0

Please sign in to comment.