diff options
-rw-r--r-- | vnext/src/components/Settings.js | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/vnext/src/components/Settings.js b/vnext/src/components/Settings.js index 5e235dc6..d4947e5a 100644 --- a/vnext/src/components/Settings.js +++ b/vnext/src/components/Settings.js @@ -60,7 +60,7 @@ export default class Settings extends React.Component { }}>Telegram</legend> {settings.telegramName ? ( <form action="/settings" method="post"> - <div>Telegram: <b> telegram_name </b> — + <div>Telegram: <b> telegram_name </b>— <input type="hidden" name="page" value="telegram-del" /> <input type="submit" value=" Disable " /> </div> @@ -92,7 +92,7 @@ export default class Settings extends React.Component { <label><input type="radio" name="delete" value={auth.account} />{auth.account}</label> — <a href="#" - onclick="alert(\'To confirm, please send "AUTH {{ auth.getAuthCode() }}" (without quotes) from this account to "juick@juick.com".\'); return false;">Confirm</a><br /> + onClick="alert(\'To confirm, please send "AUTH {{ auth.getAuthCode() }}" (without quotes) from this account to "juick@juick.com".\'); return false;">Confirm</a><br /> </React.Fragment> )} </p> @@ -131,7 +131,7 @@ export default class Settings extends React.Component { <p><input type="hidden" name="page" value="email-del" /><input type="submit" value=" Delete " /></p> } </React.Fragment> - ) : `-` + ) : '-' } </p> </form> @@ -142,8 +142,8 @@ export default class Settings extends React.Component { You can receive notifications to email:<br /> Sent to <select name="account"> <option value="">Disabled</option> - {email.map(email => - <option value={email} selected={email.active == email}> + {settings.emails.map(email => + <option key={email} value={email} selected={email.active == email}> {email} </option> )} @@ -212,4 +212,4 @@ export default class Settings extends React.Component { </article> ); } -}
\ No newline at end of file +} |