From 1cc616b86cfd2293f20393e85429e31596ea2049 Mon Sep 17 00:00:00 2001 From: tamaina Date: Wed, 31 May 2023 16:00:55 +0000 Subject: [PATCH 1/2] fix(frontend): disconnect ResizeObserver --- .../frontend/src/components/MkContainer.vue | 20 +++++++++++----- packages/frontend/src/components/MkModal.vue | 16 +++++++++---- packages/frontend/src/components/MkOmit.vue | 24 ++++++++++++------- 3 files changed, 40 insertions(+), 20 deletions(-) diff --git a/packages/frontend/src/components/MkContainer.vue b/packages/frontend/src/components/MkContainer.vue index d2d0fa3e4b..f7cc697d67 100644 --- a/packages/frontend/src/components/MkContainer.vue +++ b/packages/frontend/src/components/MkContainer.vue @@ -34,7 +34,7 @@ diff --git a/packages/frontend/src/components/MkModal.vue b/packages/frontend/src/components/MkModal.vue index a33bb2d0e2..b9ce6de697 100644 --- a/packages/frontend/src/components/MkModal.vue +++ b/packages/frontend/src/components/MkModal.vue @@ -17,7 +17,7 @@ From ff94b64c91d93aa01bf727ab72ba6937a2028897 Mon Sep 17 00:00:00 2001 From: syuilo Date: Thu, 1 Jun 2023 07:51:02 +0900 Subject: [PATCH 2/2] :art: --- packages/frontend/src/components/MkMediaImage.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/frontend/src/components/MkMediaImage.vue b/packages/frontend/src/components/MkMediaImage.vue index b21776eb49..b921a066f7 100644 --- a/packages/frontend/src/components/MkMediaImage.vue +++ b/packages/frontend/src/components/MkMediaImage.vue @@ -87,6 +87,7 @@ function showMenu(ev: MouseEvent) { }, ...(iAmModerator ? [{ text: i18n.ts.markAsSensitive, icon: 'ti ti-eye-exclamation', + danger: true, action: () => { os.apiWithDialog('drive/files/update', { fileId: props.image.id, isSensitive: true }); },