File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -428,17 +428,18 @@ const Setting = ({
428428 />
429429 </ React . Fragment >
430430 ) }
431- { ( setting . type === 'string' || setting . type === 'long_string' || setting . type === 'untranslated' || setting . type === 'password' ) && (
431+ { ( setting . type === 'string' || setting . type === 'long_string' || setting . type === 'untranslated' ||
432+ setting . type === 'password' || setting . type === 'long_password' ) && (
432433 < React . Fragment >
433434 { label }
434435 < TextInput
435436 id = { uniqueId }
436- type = { setting . type === 'password' ? 'password' : 'text' }
437+ type = { setting . type === 'password' || setting . type === 'long_password' ? 'password' : 'text' }
437438 value = { value }
438- className = { setting . type === 'long_string' ? styles . longStringSetting : '' }
439+ className = { setting . type === 'long_string' || setting . type === 'long_password' ? styles . longStringSetting : '' }
439440 onChange = { newValue => SettingsStore . setAddonSetting ( addonId , settingId , newValue ) }
440441 />
441- { setting . type !== 'long_string' && (
442+ { setting . type !== 'long_string' && setting . type !== 'long_password' && (
442443 < ResetButton
443444 addonId = { addonId }
444445 settingId = { settingId }
You can’t perform that action at this time.
0 commit comments