diff --git a/CHANGELOG.md b/CHANGELOG.md index e77ee9b247f6834e426de2432f89aafece51ad5f..21f3add6903ff4690461a6ea0f3d90782a1f1e8c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -17,6 +17,7 @@ ### Bugfixes - ãƒãƒ£ãƒ³ãƒãƒ«ã‚’作æˆã—ã¦ã„ã‚‹ã¨ã‚¢ã‚«ã‚¦ãƒ³ãƒˆã‚’削除ã§ããªã„ã®ã‚’ä¿®æ£ +- ノートã®ã€Œå‰Šé™¤ã—ã¦ç·¨é›†ã€ã‚’ã™ã‚‹ã¨ã‚¢ãƒ³ã‚±ãƒ¼ãƒˆã®é¸æŠžè‚¢ãŒ[object Object]ã«ãªã‚‹å•é¡Œã‚’ä¿®æ£ ## 12.88.0 (2021/08/17) diff --git a/src/client/components/post-form.vue b/src/client/components/post-form.vue index 221dc7431354c09849a381ae8a73cf2615379faf..657053cc938929d29dfbb5602c598d58e41efa6c 100644 --- a/src/client/components/post-form.vue +++ b/src/client/components/post-form.vue @@ -339,7 +339,12 @@ export default defineComponent({ this.cw = init.cw; this.useCw = init.cw != null; if (init.poll) { - this.poll = init.poll; + this.poll = { + choices: init.poll.choices.map(x => x.text), + multiple: init.poll.multiple, + expiresAt: init.poll.expiresAt, + expiredAfter: init.poll.expiredAfter, + }; } this.visibility = init.visibility; this.localOnly = init.localOnly;