This commit is contained in:
syuilo 2020-09-21 12:00:30 +09:00
parent 192cfd23f3
commit c2a77d4eb7
1 changed files with 2 additions and 2 deletions

View File

@ -15,11 +15,11 @@
<template v-if="categories[0].isActive">
<header class="category"><fa :icon="faHistory" fixed-width/> {{ $t('recentUsed') }}</header>
<div class="list">
<button v-for="(emoji, i) in ($store.state.device.recentEmojis || [])"
<button v-for="emoji in ($store.state.device.recentEmojis || [])"
class="_button"
:title="emoji.name"
@click="chosen(emoji)"
:key="i"
:key="emoji"
>
<mk-emoji v-if="emoji.char != null" :emoji="emoji.char"/>
<img v-else :src="$store.state.device.disableShowingAnimatedImages ? getStaticImageUrl(emoji.url) : emoji.url"/>