mirror of
https://github.com/multipleof4/ntfy.git
synced 2026-10-13 15:15:24 +00:00
Refine
This commit is contained in:
@@ -84,7 +84,7 @@ const Basics = () => {
|
||||
<PrefGroup>
|
||||
<Username />
|
||||
<ChangePassword />
|
||||
<VerifiedEmails />
|
||||
<Emails />
|
||||
<PhoneNumbers />
|
||||
<AccountType />
|
||||
</PrefGroup>
|
||||
@@ -355,7 +355,7 @@ const AccountType = () => {
|
||||
);
|
||||
};
|
||||
|
||||
const VerifiedEmails = () => {
|
||||
const Emails = () => {
|
||||
const { t } = useTranslation();
|
||||
const { account } = useContext(AccountContext);
|
||||
const [dialogKey, setDialogKey] = useState(0);
|
||||
@@ -388,7 +388,7 @@ const VerifiedEmails = () => {
|
||||
}
|
||||
};
|
||||
|
||||
if (!config.enable_emails) {
|
||||
if (!config.enable_email_verify) {
|
||||
return null;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user