diff --git a/app/components/QuestionForm/QuestionForm.jsx b/app/components/QuestionForm/QuestionForm.jsx index 36c9c777..7dac7e69 100644 --- a/app/components/QuestionForm/QuestionForm.jsx +++ b/app/components/QuestionForm/QuestionForm.jsx @@ -6,7 +6,7 @@ import PropTypes from 'prop-types'; import { ContentState, convertFromRaw, EditorState } from 'draft-js'; import { markdownToDraft } from 'markdown-draft-js'; import { RiArrowRightSFill } from 'react-icons/ri'; -import { requireEmployeeAssigned } from 'app/config/flags.json'; +import { requireEmployeeAssigned, postAnonymousQuestions } from 'app/config/flags.json'; import { DEFAULT_LOCATION, @@ -321,6 +321,7 @@ function QuestionForm({ onInputChange={onInputChange} submitElement={( + { postAnonymousQuestions && (

Ask anonymously

+ )}