Skip to content

Commit

Permalink
Show tooltip when no password is present
Browse files Browse the repository at this point in the history
  • Loading branch information
jmattheis committed Apr 6, 2018
1 parent 36ec894 commit 3092421
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/src/component/SettingsDialog.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export default class SettingsDialog extends Component {
</DialogContent>
<DialogActions>
<Button onClick={fClose}>Cancel</Button>
<Tooltip title={pass.length === 0 ? '' : 'pass is required'}>
<Tooltip title={pass.length !== 0 ? '' : 'pass is required'}>
<div>
<Button disabled={pass.length === 0} onClick={submitAndClose} color="primary"
variant="raised">
Expand Down

0 comments on commit 3092421

Please sign in to comment.