@@ -57,6 +57,7 @@ export default function SettingsPanel({
5757 isCallQueueMember,
5858 showPresenceSettings,
5959 showAudioSettings,
60+ showFeedback,
6061 additional,
6162 supportedLocales,
6263 savedLocale,
@@ -105,6 +106,14 @@ export default function SettingsPanel({
105106 </ LinkLine >
106107 )
107108 : null ;
109+ const feedback = showFeedback
110+ ? (
111+ < LinkLine
112+ onClick = { onFeedbackSettingsLinkClick } >
113+ { i18n . getString ( 'feedback' , currentLocale ) }
114+ </ LinkLine >
115+ )
116+ : null ;
108117 const presenceSetting = ( dndStatus && userStatus ) ?
109118 (
110119 < PresenceSettingSection
@@ -195,10 +204,7 @@ export default function SettingsPanel({
195204 { autoLogSMS }
196205 { clickToDial }
197206 { additional }
198- < LinkLine
199- onClick = { onFeedbackSettingsLinkClick } >
200- { i18n . getString ( 'feedback' , currentLocale ) }
201- </ LinkLine >
207+ { feedback }
202208 < section className = { styles . section } >
203209 < Line >
204210 < EulaRenderer
@@ -265,6 +271,7 @@ SettingsPanel.propTypes = {
265271 toggleAcceptCallQueueCalls : PropTypes . func ,
266272 showPresenceSettings : PropTypes . bool ,
267273 showAudioSettings : PropTypes . bool ,
274+ showFeedback : PropTypes . bool ,
268275 additional : PropTypes . node ,
269276 supportedLocales : PropTypes . arrayOf ( PropTypes . string ) ,
270277 savedLocale : PropTypes . string ,
@@ -305,4 +312,5 @@ SettingsPanel.defaultProps = {
305312 supportedLocales : undefined ,
306313 savedLocale : undefined ,
307314 saveLocale : undefined ,
315+ showFeedback : true ,
308316} ;
0 commit comments