mirror of
https://github.com/laurent22/joplin.git
synced 2024-12-27 10:32:58 +02:00
This commit is contained in:
parent
f6fed72b64
commit
30c175ef29
@ -233,7 +233,7 @@ class PromptDialog extends React.Component {
|
||||
const buttonComps = [];
|
||||
if (buttonTypes.indexOf('ok') >= 0) {
|
||||
buttonComps.push(
|
||||
<button key="ok" style={styles.button} onClick={() => onClose(true, 'ok')}>
|
||||
<button key="ok" disabled={!this.state.answer} style={styles.button} onClick={() => onClose(true, 'ok')}>
|
||||
{_('OK')}
|
||||
</button>
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user