Don't underline recently category in header if it's empty

Signed-off-by: Tulir Asokan <tulir@maunium.net>
This commit is contained in:
Tulir Asokan 2019-10-14 21:03:36 +03:00
parent 2dad33cd3e
commit bb1a242ef0

View file

@ -82,7 +82,7 @@ class EmojiPicker extends React.Component {
id: "recent", id: "recent",
name: _t("Frequently Used"), name: _t("Frequently Used"),
enabled: this.recentlyUsed.length > 0, enabled: this.recentlyUsed.length > 0,
visible: true, visible: this.recentlyUsed.length > 0,
ref: React.createRef(), ref: React.createRef(),
}, { }, {
id: "people", id: "people",