diff options
| author | Yuriha <121590760+yuriha-chan@users.noreply.github.com> | 2023-12-09 13:14:51 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-12-09 13:14:51 +0900 |
| commit | dd332b3515fd5284c02e05cd7b5f02d82237b0e8 (patch) | |
| tree | 6d8e3ff73751c3971b7df7e7e51af0083068033b /packages/frontend/src/components/MkAsUi.vue | |
| parent | Fix/vue import error on intellij (#12612) (diff) | |
| download | misskey-dd332b3515fd5284c02e05cd7b5f02d82237b0e8.tar.gz misskey-dd332b3515fd5284c02e05cd7b5f02d82237b0e8.tar.bz2 misskey-dd332b3515fd5284c02e05cd7b5f02d82237b0e8.zip | |
Misskey Playのノート投稿画面で「内容を隠す」を設定できるようにする (#12576)
* Add the content warning option in AiScript UI postFormButton
* Fix initial CW in postFormButton
---------
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
Diffstat (limited to 'packages/frontend/src/components/MkAsUi.vue')
| -rw-r--r-- | packages/frontend/src/components/MkAsUi.vue | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/packages/frontend/src/components/MkAsUi.vue b/packages/frontend/src/components/MkAsUi.vue index 7670b54f16..4239cc6091 100644 --- a/packages/frontend/src/components/MkAsUi.vue +++ b/packages/frontend/src/components/MkAsUi.vue @@ -43,6 +43,7 @@ SPDX-License-Identifier: AGPL-3.0-only fixed :instant="true" :initialText="c.form.text" + :initialCw="c.form.cw" /> </div> <MkFolder v-else-if="c.type === 'folder'" :defaultOpen="c.opened"> @@ -97,6 +98,7 @@ function onSwitchUpdate(v) { function openPostForm() { os.post({ initialText: c.form.text, + initialCw: c.form.cw, instant: true, }); } |