diff options
| author | zyoshoka <107108195+zyoshoka@users.noreply.github.com> | 2024-02-29 20:42:02 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-02-29 20:42:02 +0900 |
| commit | 16f16e6b0879199a78f0f9ef2da7e1e44ee8d355 (patch) | |
| tree | 87a4cc793674350420d41bf42bb8b9eca2960875 /packages/frontend/src/components/MkPostForm.vue | |
| parent | enhance: 通知の履歴をリセットできるように (#13335) (diff) | |
| download | sharkey-16f16e6b0879199a78f0f9ef2da7e1e44ee8d355.tar.gz sharkey-16f16e6b0879199a78f0f9ef2da7e1e44ee8d355.tar.bz2 sharkey-16f16e6b0879199a78f0f9ef2da7e1e44ee8d355.zip | |
fix(backend): ダイレクトなノートに対してはダイレクトでしか返信できないように (#13477)
* fix(backend): ダイレクトなノートに対してはダイレクトでしか返信できないように
* Update CHANGELOG.md
* test(backend): `notes/create`とWebSocket関連のテストを追加
Diffstat (limited to 'packages/frontend/src/components/MkPostForm.vue')
| -rw-r--r-- | packages/frontend/src/components/MkPostForm.vue | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/frontend/src/components/MkPostForm.vue b/packages/frontend/src/components/MkPostForm.vue index 819f0f692c..e03faeaf55 100644 --- a/packages/frontend/src/components/MkPostForm.vue +++ b/packages/frontend/src/components/MkPostForm.vue @@ -172,7 +172,7 @@ const emit = defineEmits<{ const textareaEl = shallowRef<HTMLTextAreaElement | null>(null); const cwInputEl = shallowRef<HTMLInputElement | null>(null); const hashtagsInputEl = shallowRef<HTMLInputElement | null>(null); -const visibilityButton = shallowRef<HTMLElement | null>(null); +const visibilityButton = shallowRef<HTMLElement>(); const posting = ref(false); const posted = ref(false); @@ -461,6 +461,7 @@ function setVisibility() { isSilenced: $i.isSilenced, localOnly: localOnly.value, src: visibilityButton.value, + ...(props.reply ? { isReplyVisibilitySpecified: props.reply.visibility === 'specified' } : {}), }, { changeVisibility: v => { visibility.value = v; |