parent
433230413e
commit
c9a01aeba5
1 changed files with 1 additions and 6 deletions
|
@ -62,10 +62,6 @@
|
||||||
<header class="_acrylic">{{ $ts.emoji }}</header>
|
<header class="_acrylic">{{ $ts.emoji }}</header>
|
||||||
<XSection v-for="category in categories" :emojis="emojilist.filter(e => e.category === category).map(e => e.char)">{{ category }}</XSection>
|
<XSection v-for="category in categories" :emojis="emojilist.filter(e => e.category === category).map(e => e.char)">{{ category }}</XSection>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
|
||||||
<header class="_acrylic">{{ $ts.tags }}</header>
|
|
||||||
<XSection v-for="tag in emojiTags" :emojis="customEmojis.filter(e => e.aliases.includes(tag)).map(e => ':' + e.name + ':')">{{ tag }}</XSection>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
<div class="tabs">
|
<div class="tabs">
|
||||||
<button class="_button tab" :class="{ active: tab === 'index' }" @click="tab = 'index'"><Fa :icon="faAsterisk" fixed-width/></button>
|
<button class="_button tab" :class="{ active: tab === 'index' }" @click="tab = 'index'"><Fa :icon="faAsterisk" fixed-width/></button>
|
||||||
|
@ -86,7 +82,7 @@ import Particle from '@/components/particle.vue';
|
||||||
import * as os from '@/os';
|
import * as os from '@/os';
|
||||||
import { isDeviceTouch } from '@/scripts/is-device-touch';
|
import { isDeviceTouch } from '@/scripts/is-device-touch';
|
||||||
import { isMobile } from '@/scripts/is-mobile';
|
import { isMobile } from '@/scripts/is-mobile';
|
||||||
import { emojiCategories, emojiTags } from '@/instance';
|
import { emojiCategories } from '@/instance';
|
||||||
import XSection from './emoji-picker.section.vue';
|
import XSection from './emoji-picker.section.vue';
|
||||||
|
|
||||||
export default defineComponent({
|
export default defineComponent({
|
||||||
|
@ -115,7 +111,6 @@ export default defineComponent({
|
||||||
height: this.asReactionPicker ? this.$store.state.reactionPickerHeight : 2,
|
height: this.asReactionPicker ? this.$store.state.reactionPickerHeight : 2,
|
||||||
big: this.asReactionPicker ? isDeviceTouch : false,
|
big: this.asReactionPicker ? isDeviceTouch : false,
|
||||||
customEmojiCategories: emojiCategories,
|
customEmojiCategories: emojiCategories,
|
||||||
emojiTags,
|
|
||||||
customEmojis: this.$instance.emojis,
|
customEmojis: this.$instance.emojis,
|
||||||
q: null,
|
q: null,
|
||||||
searchResultCustom: [],
|
searchResultCustom: [],
|
||||||
|
|
Loading…
Reference in a new issue