1. showing recent list even though frequent list is empty
This commit is contained in:
parent
33b0737955
commit
7f3a64f98a
1 changed files with 3 additions and 0 deletions
|
|
@ -1664,6 +1664,9 @@ export default {
|
||||||
updateRecentEmojis() {
|
updateRecentEmojis() {
|
||||||
if (this.$refs.emojiPicker) {
|
if (this.$refs.emojiPicker) {
|
||||||
this.recentEmojis = this.$refs.emojiPicker.mapEmojis["Frequently"];
|
this.recentEmojis = this.$refs.emojiPicker.mapEmojis["Frequently"];
|
||||||
|
if (this.recentEmojis.length < 20){
|
||||||
|
this.recentEmojis.push(this.$refs.emojiPicker.mapEmojis["Peoples"]);
|
||||||
|
}
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
this.recentEmojis = [];
|
this.recentEmojis = [];
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue