Skip to content

Commit

Permalink
fix wire view
Browse files Browse the repository at this point in the history
  • Loading branch information
devketanpro committed Jul 22, 2024
1 parent 17faa26 commit f2e2525
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion newsroom/wire/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@
from .items import get_items_for_dashboard
from ..upload import ASSETS_RESOURCE, get_upload
from newsroom.ui_config_async import UiConfigResourceService
from newsroom.settings import get_client_config

HOME_ITEMS_CACHE_KEY = "home_items"
HOME_EXTERNAL_ITEMS_CACHE_KEY = "home_external_items"
Expand Down Expand Up @@ -261,7 +262,8 @@ def get_card_items():
@section("wire")
async def wire():
data = await get_view_data()
return flask.render_template("wire_index.html", data=data)
client_config = await get_client_config()
return flask.render_template("wire_index.html", data=data, client_config=client_config)


@blueprint.route("/bookmarks_wire")
Expand Down

0 comments on commit f2e2525

Please sign in to comment.