feat(frontend): add confirmation before force log out
This commit is contained in:
parent
e030342358
commit
40da4865bc
6 changed files with 65 additions and 24 deletions
|
@ -44,7 +44,7 @@ function EmailSettings({ user }: { user: MeUser }) {
|
|||
)}
|
||||
{emails.length < 3 && (
|
||||
<p>
|
||||
{/* @ts-expect-error using as=Link causes an error here, even though it runs completely fine */}
|
||||
{/* @ts-expect-error as=Link */}
|
||||
<Button variant="primary" as={Link} to="/settings/auth/add-email">
|
||||
{emails.length === 0
|
||||
? t("settings.auth.form.add-first-email")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue