From dcdba2ac4880cd96b9602f38b1bbce360e96c6ad Mon Sep 17 00:00:00 2001 From: XPoet Date: Thu, 25 Mar 2021 11:47:39 +0800 Subject: [PATCH] ui: optimize friends link avatar display --- layout/_partial/friends-link.ejs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/layout/_partial/friends-link.ejs b/layout/_partial/friends-link.ejs index 016493b..89a1794 100644 --- a/layout/_partial/friends-link.ejs +++ b/layout/_partial/friends-link.ejs @@ -6,7 +6,10 @@
<% if (f.avatar) { %> - <%= f.name %> + <% } else { %> <% } %>