Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions reader/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,7 @@ def render_template(request, template_name='base.html', app_props=None, template
props["remoteConfig"] = remoteConfigCache.get(CLIENT_REMOTE_CONFIG_JSON, {})
propsJSON = json.dumps(props, ensure_ascii=False)
template_context["propsJSON"] = propsJSON
template_context["active_module"] = getattr(request, "active_module", LIBRARY_MODULE)
if app_props: # We are rendering the ReaderApp in Node, otherwise its jsut a Django template view with ReaderApp set to headerMode
html = render_react_component("ReaderApp", propsJSON)
template_context["html"] = html
Expand Down
Loading