fix
This commit is contained in:
parent
ce8d9871b1
commit
e25da38393
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue