TopNav: Updates to create service account page and invite user (#52480)

* Simplify logic to support both navs

* Added new file
This commit is contained in:
Torkel Ödegaard
2022-07-20 16:02:25 +02:00
committed by GitHub
parent b42ac8a211
commit 01d561224c
9 changed files with 105 additions and 90 deletions

View File

@@ -36,7 +36,9 @@ export function ChangePasswordPage({ loadUser, isUpdating, user, changePassword
<Page.Contents isLoading={!Boolean(user)}>
{user ? (
<>
<h3 className="page-heading">Change Your Password</h3>
<Page.OldNavOnly>
<h3 className="page-sub-heading">Change Your Password</h3>
</Page.OldNavOnly>
<ChangePasswordForm user={user} onChangePassword={changePassword} isSaving={isUpdating} />
</>
) : null}