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 5227afee0..ee4d439cc 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 79bd4b55f..f8b811e6b 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 f95103b0b..c920c3ca5 100644 --- a/packages/frontend/src/widgets/WidgetOnlineUsers.vue +++ b/packages/frontend/src/widgets/WidgetOnlineUsers.vue @@ -1,8 +1,10 @@ @@ -55,22 +57,16 @@ defineExpose({ }); -