Skip to content

Commit

Permalink
use .localized on page object for hotfix (#12340)
Browse files Browse the repository at this point in the history
  • Loading branch information
robdivincenzo authored May 16, 2024
1 parent f417829 commit e0c9a66
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class BaseLinkValue(blocks.StructValue):

def get_page_link(self):
page = self.get("page")
return page.url if page else None
return page.localized.url if page else None

def get_external_url_link(self):
return self.get("external_url")
Expand Down

0 comments on commit e0c9a66

Please sign in to comment.