From d2eec3a9e457d4c8bab595c14b4f8e8b79099a26 Mon Sep 17 00:00:00 2001 From: syuilo Date: Wed, 24 May 2023 14:34:46 +0900 Subject: [PATCH] refactor --- .../src/components/MkPostFormAttaches.vue | 103 ++++++++---------- .../src/widgets/WidgetInstanceCloud.vue | 4 - .../src/widgets/WidgetOnlineUsers.vue | 26 ++--- 3 files changed, 59 insertions(+), 74 deletions(-) diff --git a/packages/frontend/src/components/MkPostFormAttaches.vue b/packages/frontend/src/components/MkPostFormAttaches.vue index 5227afee0d..ee4d439cc3 100644 --- a/packages/frontend/src/components/MkPostFormAttaches.vue +++ b/packages/frontend/src/components/MkPostFormAttaches.vue @@ -1,16 +1,16 @@ @@ -108,60 +108,53 @@ function showFileMenu(file, ev: MouseEvent) { } - diff --git a/packages/frontend/src/widgets/WidgetInstanceCloud.vue b/packages/frontend/src/widgets/WidgetInstanceCloud.vue index 79bd4b55fd..f8b811e6ba 100644 --- a/packages/frontend/src/widgets/WidgetInstanceCloud.vue +++ b/packages/frontend/src/widgets/WidgetInstanceCloud.vue @@ -72,7 +72,3 @@ defineExpose({ id: props.widget ? props.widget.id : null, }); - - diff --git a/packages/frontend/src/widgets/WidgetOnlineUsers.vue b/packages/frontend/src/widgets/WidgetOnlineUsers.vue index f95103b0b9..c920c3ca53 100644 --- a/packages/frontend/src/widgets/WidgetOnlineUsers.vue +++ b/packages/frontend/src/widgets/WidgetOnlineUsers.vue @@ -1,8 +1,10 @@ @@ -55,22 +57,16 @@ defineExpose({ }); -