about summary refs log tree commit diff
path: root/app/javascript/flavours/glitch/features/compose/containers/poll_form_container.js
diff options
context:
space:
mode:
authorChristian Schmidt <github@chsc.dk>2023-01-29 19:00:19 +0100
committerClaire <claire.github-309c@sitedethib.com>2023-02-03 19:23:36 +0100
commitfb9c786baf844d7f9f5e2f3920aa80efd0673abe (patch)
tree0d493917554c825481f2363395e43005e403f3aa /app/javascript/flavours/glitch/features/compose/containers/poll_form_container.js
parentaeacebb3d75112d0d22b9829813c388eef6ce5af (diff)
[Glitch] Add lang attribute to image description textarea and poll option field
Port 2a4f2216d65bd5ac90239d5b99c70f4330d76fde to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
Diffstat (limited to 'app/javascript/flavours/glitch/features/compose/containers/poll_form_container.js')
-rw-r--r--app/javascript/flavours/glitch/features/compose/containers/poll_form_container.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/javascript/flavours/glitch/features/compose/containers/poll_form_container.js b/app/javascript/flavours/glitch/features/compose/containers/poll_form_container.js
index e87e58771..1e0058341 100644
--- a/app/javascript/flavours/glitch/features/compose/containers/poll_form_container.js
+++ b/app/javascript/flavours/glitch/features/compose/containers/poll_form_container.js
@@ -10,6 +10,7 @@ import {
 const mapStateToProps = state => ({
   suggestions: state.getIn(['compose', 'suggestions']),
   options: state.getIn(['compose', 'poll', 'options']),
+  lang: state.getIn(['compose', 'language']),
   expiresIn: state.getIn(['compose', 'poll', 'expires_in']),
   isMultiple: state.getIn(['compose', 'poll', 'multiple']),
 });