summaryrefslogtreecommitdiff
path: root/packages/frontend/src/components/MkPostForm.vue
diff options
context:
space:
mode:
authortamaina <tamaina@hotmail.co.jp>2024-02-29 11:47:30 +0000
committertamaina <tamaina@hotmail.co.jp>2024-02-29 11:47:30 +0000
commitb9bcceddfc2cf6a00e8886e9e5b6edff72d5ee98 (patch)
treec0d1eec330326a7345148b3679ff81c00e859243 /packages/frontend/src/components/MkPostForm.vue
parentfix(client): use colorizeEmoji when unicodeEmojisMap.get (diff)
parentNew Crowdin updates (#13359) (diff)
downloadsharkey-b9bcceddfc2cf6a00e8886e9e5b6edff72d5ee98.tar.gz
sharkey-b9bcceddfc2cf6a00e8886e9e5b6edff72d5ee98.tar.bz2
sharkey-b9bcceddfc2cf6a00e8886e9e5b6edff72d5ee98.zip
Merge branch 'develop' of https://github.com/misskey-dev/misskey into develop
Diffstat (limited to 'packages/frontend/src/components/MkPostForm.vue')
-rw-r--r--packages/frontend/src/components/MkPostForm.vue3
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;