mirror of
https://github.com/gotify/server.git
synced 2026-06-08 15:54:22 +08:00
Show tooltip when no password is present
This commit is contained in:
committed by
Jannis Mattheis
parent
b5a224c9ae
commit
53aec56ca5
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user