This commit is contained in:
mattyatea 2024-01-06 19:52:16 +09:00
parent ce8d9871b1
commit e25da38393
1 changed files with 4 additions and 3 deletions

View File

@ -56,6 +56,7 @@ import { i18n } from '@/i18n.js';
import * as os from '@/os';
import { $i } from '@/account.js';
import { definePageMetadata } from '@/scripts/page-metadata';
import { misskeyApiGet } from '@/scripts/misskey-api.js';
let tab = ref('emojis');
const headerActions = computed(() => []);
@ -73,7 +74,7 @@ definePageMetadata(ref({}));
let q = ref('');
let searchEmojis = ref<Misskey.entities.CustomEmoji[]>(null);
let selectedTags = ref(new Set());
const requestEmojis = await os.apiGet('emoji-requests');
const requestEmojis = await misskeyApiGet('emoji-requests');
function search() {
if ((q.value === '' || q.value == null) && selectedTags.value.size === 0) {