diff --git a/lms/djangoapps/support/static/support/jsx/logged_in_user.jsx b/lms/djangoapps/support/static/support/jsx/logged_in_user.jsx index 7cd223476c..3e6ab0fa88 100644 --- a/lms/djangoapps/support/static/support/jsx/logged_in_user.jsx +++ b/lms/djangoapps/support/static/support/jsx/logged_in_user.jsx @@ -3,7 +3,28 @@ import React from 'react'; import PropTypes from 'prop-types'; -function LoggedInUser({ userInformation }) { +import FileUpload from './file_upload'; + +function LoggedInUser({ userInformation, setErrorState, zendeskApiHost, accessToken, submitForm }) { + let courseElement; + if (userInformation.enrollments) { + courseElement = (
+ + +
); + } else { + courseElement = (
+ + +
); + } + return (
- {userInformation.enrollments.length === 0 && -
- - -
- } - {userInformation.enrollments.length > 0 && -
- - -
- } + {courseElement}
+ +
+
+
+ + +
+
+
+ +
+
+
+ +

{gettext('The more you tell us, the more quickly and helpfully we can respond!')}

+