Skip to content

Commit

Permalink
refactor AppLinkContent, update tests (#1470, #1483)
Browse files Browse the repository at this point in the history
  • Loading branch information
mikkonie committed Sep 4, 2024
1 parent 64f2523 commit ddb67e7
Show file tree
Hide file tree
Showing 6 changed files with 647 additions and 415 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ Changed
- Truncate app setting values in ``remoteproject_sync.html`` (#1474)
- JSON app setting value rendering in ``remoteproject_sync.html`` (#1472)
- Change ``AppSettingAPI.compare_value()`` into public method (#1479)
- Refactor ``AppLinkContent`` (#1470, #1483)

Fixed
-----
Expand Down
2 changes: 1 addition & 1 deletion projectroles/templatetags/projectroles_tags.py
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ def get_project_app_links(request, project=None):
"""Return sidebar links"""
if isinstance(request, str):
return []
return app_links.get_project_app_links(
return app_links.get_project_links(
request.user,
project,
app_name=request.resolver_match.app_name,
Expand Down
Loading

0 comments on commit ddb67e7

Please sign in to comment.