Widget: Include frontpage_text, but only after navigation

This commit is contained in:
Raphael Michel
2021-01-12 11:56:47 +01:00
parent cf3c4d26cb
commit 593fc69d0c
3 changed files with 7 additions and 0 deletions

View File

@@ -577,6 +577,7 @@ class WidgetAPIProductList(EventListMixin, View):
ev = self.subevent or request.event
data['name'] = str(ev.name)
data['frontpage_text'] = str(rich_text(ev.frontpage_text, safelinks=False))
data['date_range'] = self._get_date_range(ev, request.event)
fail = False