From 5d7260c8468086178cf38093c7c762b475084606 Mon Sep 17 00:00:00 2001 From: ppoffice Date: Fri, 27 Sep 2019 13:02:03 -0400 Subject: [PATCH] fix(widget): hide follow button if link is empty --- layout/widget/profile.ejs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/layout/widget/profile.ejs b/layout/widget/profile.ejs index 6cba495..bfb0b3e 100644 --- a/layout/widget/profile.ejs +++ b/layout/widget/profile.ejs @@ -69,10 +69,12 @@ + <% if (widget.follow_link) { %>
<%= __('widget.follow') %>
+ <% } %> <% const socialLinks = get_config_from_obj(widget, 'social_links'); %> <% if (socialLinks !== null) { %>