Skip to content

Commit

Permalink
Show default value if value is not present
Browse files Browse the repository at this point in the history
  • Loading branch information
BrainMaestro committed Mar 10, 2017
1 parent 4fdee9e commit ce3f8f5
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ export default class ExternalSettings extends Component {
}

renderSetting(label, setting, plugin) {
const { type, value, description } = setting
const { type, description } = setting
const value = setting.value || setting.defaultValue

if (type == 'bool') {
return (
Expand Down

0 comments on commit ce3f8f5

Please sign in to comment.