mirror of
https://github.com/ToolJet/ToolJet
synced 2026-05-23 08:58:26 +00:00
fix redirect on profile page (#3892)
This commit is contained in:
parent
4c885fb391
commit
efa876e426
1 changed files with 4 additions and 6 deletions
|
|
@ -205,14 +205,13 @@ function SettingsPage(props) {
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<a
|
||||
href="#"
|
||||
<button
|
||||
className={'btn btn-primary' + (updateInProgress ? ' btn-loading' : '')}
|
||||
onClick={updateDetails}
|
||||
data-cy="update-button"
|
||||
>
|
||||
Update
|
||||
</a>
|
||||
</button>
|
||||
{/* An !important style on theme.scss is making the last child of every .card-body color to #c3c3c3!. */}
|
||||
{/* The div below is a placeholder to prevent it from affecting the button above. */}
|
||||
<div></div>
|
||||
|
|
@ -279,14 +278,13 @@ function SettingsPage(props) {
|
|||
/>
|
||||
</div>
|
||||
</div>
|
||||
<a
|
||||
href="#"
|
||||
<button
|
||||
className={'btn btn-primary' + (passwordChangeInProgress ? ' btn-loading' : '')}
|
||||
onClick={changePassword}
|
||||
data-cy="change-password-button"
|
||||
>
|
||||
Change password
|
||||
</a>
|
||||
</button>
|
||||
{/* An !important style on theme.scss is making the last child of every .card-body color to #c3c3c3!. */}
|
||||
{/* The div below is a placeholder to prevent it from affecting the button above. */}
|
||||
<div></div>
|
||||
|
|
|
|||
Loading…
Reference in a new issue