Skip to content

Commit

Permalink
Merge branch 'main' into distinct-breaches
Browse files Browse the repository at this point in the history
  • Loading branch information
jaroel authored Oct 2, 2023
2 parents 7baab0e + 3ad0f05 commit f13844d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 1 addition & 0 deletions news/1703.internal
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Remove unused code. @davisagli
2 changes: 0 additions & 2 deletions src/plone/restapi/services/navigation/get.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,8 +163,6 @@ def render_item(self, item, path):

item.update({"items": sub})

if "title" in item and item["title"]:
item["title"] = item["title"]
if "path" in item:
del item["path"]
return item
Expand Down

0 comments on commit f13844d

Please sign in to comment.