aboutsummaryrefslogtreecommitdiff
path: root/vnext/src
diff options
context:
space:
mode:
Diffstat (limited to 'vnext/src')
-rw-r--r--vnext/src/components/Settings.js12
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> &mdash;
+ <div>Telegram: <b> telegram_name </b>&mdash;
<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>
&mdash; <a href="#"
- onclick="alert(\'To confirm, please send &quot;AUTH {{ auth.getAuthCode() }}&quot; (without quotes) from this account to &quot;juick@juick.com&quot;.\'); return false;">Confirm</a><br />
+ onClick="alert(\'To confirm, please send &quot;AUTH {{ auth.getAuthCode() }}&quot; (without quotes) from this account to &quot;juick@juick.com&quot;.\'); 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
+}