From 6bc1d10ae95e9694a725d4a6247142461a93951d Mon Sep 17 00:00:00 2001 From: shpuld Date: Sun, 9 Jun 2019 22:41:39 +0300 Subject: [PATCH] Fix poll crash --- src/components/post_status_form/post_status_form.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/post_status_form/post_status_form.js b/src/components/post_status_form/post_status_form.js index d831384a..e335054c 100644 --- a/src/components/post_status_form/post_status_form.js +++ b/src/components/post_status_form/post_status_form.js @@ -259,7 +259,7 @@ const PostStatusForm = { } } - const poll = this.pollFormVisible ? this.poll : {} + const poll = this.pollFormVisible ? this.newStatus.poll : {} this.posting = true statusPoster.postStatus({