From bb1a242ef07ae24d0ee9ce37c78adc40ff5734d7 Mon Sep 17 00:00:00 2001 From: Tulir Asokan Date: Mon, 14 Oct 2019 21:03:36 +0300 Subject: [PATCH] Don't underline recently category in header if it's empty Signed-off-by: Tulir Asokan --- src/components/views/emojipicker/EmojiPicker.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/views/emojipicker/EmojiPicker.js b/src/components/views/emojipicker/EmojiPicker.js index 15982e76c1..c5e16ff601 100644 --- a/src/components/views/emojipicker/EmojiPicker.js +++ b/src/components/views/emojipicker/EmojiPicker.js @@ -82,7 +82,7 @@ class EmojiPicker extends React.Component { id: "recent", name: _t("Frequently Used"), enabled: this.recentlyUsed.length > 0, - visible: true, + visible: this.recentlyUsed.length > 0, ref: React.createRef(), }, { id: "people",