diff options
| author | tamaina <tamaina@hotmail.co.jp> | 2024-02-29 11:47:30 +0000 |
|---|---|---|
| committer | tamaina <tamaina@hotmail.co.jp> | 2024-02-29 11:47:30 +0000 |
| commit | b9bcceddfc2cf6a00e8886e9e5b6edff72d5ee98 (patch) | |
| tree | c0d1eec330326a7345148b3679ff81c00e859243 /packages/frontend/src/components/MkPostForm.vue | |
| parent | fix(client): use colorizeEmoji when unicodeEmojisMap.get (diff) | |
| parent | New Crowdin updates (#13359) (diff) | |
| download | sharkey-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.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; |