diff options
| author | syuilo <4439005+syuilo@users.noreply.github.com> | 2025-06-01 10:44:45 +0900 |
|---|---|---|
| committer | syuilo <4439005+syuilo@users.noreply.github.com> | 2025-06-01 10:44:45 +0900 |
| commit | f4167ae7f1df7c2cd4cf264fc4d79d51b8c51133 (patch) | |
| tree | 9f87a9ee76c82176daa4e81f1b117e90ec933f52 /packages/frontend/src/pages/admin | |
| parent | fix(frontend): remove unused text (diff) | |
| download | misskey-f4167ae7f1df7c2cd4cf264fc4d79d51b8c51133.tar.gz misskey-f4167ae7f1df7c2cd4cf264fc4d79d51b8c51133.tar.bz2 misskey-f4167ae7f1df7c2cd4cf264fc4d79d51b8c51133.zip | |
enhance(frontend): 非同期的なコンポーネントの読み込み時のハンドリングを強化
Diffstat (limited to 'packages/frontend/src/pages/admin')
| -rw-r--r-- | packages/frontend/src/pages/admin/custom-emojis-manager.local.list.vue | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/packages/frontend/src/pages/admin/custom-emojis-manager.local.list.vue b/packages/frontend/src/pages/admin/custom-emojis-manager.local.list.vue index 68c7048ae1..4c2c26ec45 100644 --- a/packages/frontend/src/pages/admin/custom-emojis-manager.local.list.vue +++ b/packages/frontend/src/pages/admin/custom-emojis-manager.local.list.vue @@ -525,10 +525,10 @@ const headerPageMetadata = computed(() => ({ const headerActions = computed(() => [{ icon: 'ti ti-search', text: i18n.ts.search, - handler: () => { + handler: async () => { if (searchWindowOpening) return; searchWindowOpening = true; - const { dispose } = os.popup(defineAsyncComponent(() => import('./custom-emojis-manager.local.list.search.vue')), { + const { dispose } = await os.popupAsyncWithDialog(import('./custom-emojis-manager.local.list.search.vue').then(x => x.default), { query: searchQuery.value, }, { queryUpdated: (query: EmojiSearchQuery) => { @@ -584,8 +584,8 @@ const headerActions = computed(() => [{ }, { icon: 'ti ti-notes', text: i18n.ts._customEmojisManager._gridCommon.registrationLogs, - handler: () => { - const { dispose } = os.popup(defineAsyncComponent(() => import('./custom-emojis-manager.local.list.logs.vue')), { + handler: async () => { + const { dispose } = await os.popupAsyncWithDialog(import('./custom-emojis-manager.local.list.logs.vue').then(x => x.default), { logs: requestLogs.value, }, { closed: () => { |