web/user: fix use sub-pages not redirecting back to the subpage

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer
2022-05-21 17:07:30 +02:00
parent 646d174dd2
commit dce623dd7c
3 changed files with 5 additions and 3 deletions

View File

@ -32,7 +32,7 @@ export class UserSettingsPassword extends LitElement {
<div class="pf-c-card__body">
<a
href="${ifDefined(this.configureUrl)}${AndNext(
"/if/user/#/settings;page-details",
`/if/user/#/settings;${JSON.stringify({ page: "page-details" })}`,
)}"
class="pf-c-button pf-m-primary"
>