mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-06-11 06:34:05 +02:00
enhance(frontend): 非同期的なコンポーネントの読み込み時のハンドリングを強化
This commit is contained in:
@@ -94,8 +94,8 @@ export function getUserMenu(user: Misskey.entities.UserDetailed, router: Router
|
||||
});
|
||||
}
|
||||
|
||||
function reportAbuse() {
|
||||
const { dispose } = os.popup(defineAsyncComponent(() => import('@/components/MkAbuseReportWindow.vue')), {
|
||||
async function reportAbuse() {
|
||||
const { dispose } = await os.popupAsyncWithDialog(import('@/components/MkAbuseReportWindow.vue').then(x => x.default), {
|
||||
user: user,
|
||||
}, {
|
||||
closed: () => dispose(),
|
||||
|
||||
Reference in New Issue
Block a user