Skip to content

Commit

Permalink
🎨 changed AppGroupQuerySet app_link set to view_only
Browse files Browse the repository at this point in the history
  • Loading branch information
bart-maykin committed Dec 11, 2024
1 parent b559e5f commit 2174803
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions django_admin_index/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ def as_list(self, request, include_remaining=True):
"app_label": app.slug,
"admin_url": app_link.link,
"active": request.path.startswith(app_link.link),
"view_only": True,
}
)
active = request.path.startswith(app_link.link)
Expand Down

0 comments on commit 2174803

Please sign in to comment.