Skip to content

Commit 1709794

Browse files
committed
https://github.com/bonfire-networks/bonfire-app/issues/1734
1 parent 52acb71 commit 1709794

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

priv/templates/lib/bonfire/web/views/dashboard_live.ex

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ defmodule Bonfire.Web.Views.DashboardLive do
2525
true,
2626
current_user: current_user
2727
) && {Bonfire.Tag.Web.WidgetTagsLive, []},
28-
{Bonfire.UI.Social.WidgetTrendingLinksLive, []},
28+
# {Bonfire.UI.Social.WidgetTrendingLinksLive, []},
2929
Settings.get([Bonfire.Web.Views.DashboardLive, :include, :admins], true,
3030
current_user: current_user
3131
) &&
@@ -46,8 +46,13 @@ defmodule Bonfire.Web.Views.DashboardLive do
4646
Enum.filter(
4747
[
4848
{Bonfire.UI.Social.WidgetTrendingLinksLive,
49-
[limit: 5, widget_title: l("Trending Links")]}
50-
# Future widgets can be added here
49+
[limit: 5, widget_title: l("Trending Links")]},
50+
current_user &&
51+
{Bonfire.UI.Social.WidgetRecentArticlesLive,
52+
[limit: 5, widget_title: l("Recent Articles")]},
53+
current_user &&
54+
{Bonfire.UI.Social.WidgetSuggestedProfilesLive,
55+
[widget_title: l("Who to follow")]}
5156
],
5257
& &1
5358
)

0 commit comments

Comments
 (0)