From 1c0ec222b414a25c997fb800d450b39be8586d05 Mon Sep 17 00:00:00 2001 From: syuilo Date: Tue, 9 May 2023 14:28:27 +0900 Subject: [PATCH] =?UTF-8?q?enhance(frontend):=20=E3=83=97=E3=83=AD?= =?UTF-8?q?=E3=83=95=E3=82=A3=E3=83=BC=E3=83=AB=E7=94=BB=E9=9D=A2=E3=81=AB?= =?UTF-8?q?=E3=81=8A=E3=81=91=E3=82=8B=E3=83=A2=E3=83=87=E3=83=AC=E3=83=BC?= =?UTF-8?q?=E3=82=B7=E3=83=A7=E3=83=B3=E3=83=8E=E3=83=BC=E3=83=88=E3=81=AE?= =?UTF-8?q?=E8=A1=A8=E7=A4=BA=E3=82=92=E8=AA=BF=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Resolve #10807 --- CHANGELOG.md | 1 + packages/frontend/src/pages/user/home.vue | 7 ++++++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 83caa66a46..05f1d279af 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -18,6 +18,7 @@ - ### Client +- プロフィール画面におけるモデレーションノートの表示を調整 - Fix: ユーザー選択ダイアログが表示されない問題を修正 ### Server diff --git a/packages/frontend/src/pages/user/home.vue b/packages/frontend/src/pages/user/home.vue index 5bc1578268..9c133346d5 100644 --- a/packages/frontend/src/pages/user/home.vue +++ b/packages/frontend/src/pages/user/home.vue @@ -49,9 +49,12 @@
- + +
+ Add moderation note +
@@ -142,6 +145,7 @@ import MkRemoteCaution from '@/components/MkRemoteCaution.vue'; import MkTextarea from '@/components/MkTextarea.vue'; import MkOmit from '@/components/MkOmit.vue'; import MkInfo from '@/components/MkInfo.vue'; +import MkButton from '@/components/MkButton.vue'; import { getScrollPosition } from '@/scripts/scroll'; import { getUserMenu } from '@/scripts/get-user-menu'; import number from '@/filters/number'; @@ -176,6 +180,7 @@ let memoTextareaEl = $ref(null); let memoDraft = $ref(props.user.memo); let isEditingMemo = $ref(false); let moderationNote = $ref(props.user.moderationNote); +let editModerationNote = $ref(false); watch($$(moderationNote), async () => { await os.api('admin/update-user-note', { userId: props.user.id, text: moderationNote });