From 87c6d0cbeef22a902e4b9827d41b450853b0edde Mon Sep 17 00:00:00 2001 From: syuilo Date: Fri, 3 Mar 2023 12:29:34 +0900 Subject: [PATCH] :art: --- .../frontend/src/components/MkUserPopup.vue | 222 ++++++++++++++++++ .../frontend/src/components/MkUserPreview.vue | 199 ---------------- .../frontend/src/directives/user-preview.ts | 2 +- 3 files changed, 223 insertions(+), 200 deletions(-) create mode 100644 packages/frontend/src/components/MkUserPopup.vue delete mode 100644 packages/frontend/src/components/MkUserPreview.vue diff --git a/packages/frontend/src/components/MkUserPopup.vue b/packages/frontend/src/components/MkUserPopup.vue new file mode 100644 index 000000000..0720c8eea --- /dev/null +++ b/packages/frontend/src/components/MkUserPopup.vue @@ -0,0 +1,222 @@ + + + + + diff --git a/packages/frontend/src/components/MkUserPreview.vue b/packages/frontend/src/components/MkUserPreview.vue deleted file mode 100644 index 1086a2c65..000000000 --- a/packages/frontend/src/components/MkUserPreview.vue +++ /dev/null @@ -1,199 +0,0 @@ - - - - - diff --git a/packages/frontend/src/directives/user-preview.ts b/packages/frontend/src/directives/user-preview.ts index ed5f00ca6..2f5936de3 100644 --- a/packages/frontend/src/directives/user-preview.ts +++ b/packages/frontend/src/directives/user-preview.ts @@ -24,7 +24,7 @@ export class UserPreview { const showing = ref(true); - popup(defineAsyncComponent(() => import('@/components/MkUserPreview.vue')), { + popup(defineAsyncComponent(() => import('@/components/MkUserPopup.vue')), { showing, q: this.user, source: this.el,