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:
parent
646d174dd2
commit
dce623dd7c
|
@ -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"
|
||||
>
|
||||
|
|
|
@ -79,7 +79,9 @@ export class MFADevicesPage extends Table<Device> {
|
|||
return html`<li>
|
||||
<a
|
||||
href="${ifDefined(stage.configureUrl)}${AndNext(
|
||||
"/if/user/#/settings;page-mfa",
|
||||
`/if/user/#/settings;${JSON.stringify({
|
||||
page: "page-mfa",
|
||||
})}`,
|
||||
)}"
|
||||
class="pf-c-dropdown__menu-item"
|
||||
>
|
||||
|
|
|
@ -52,7 +52,7 @@ export class SourceSettingsOAuth extends BaseUserSettings {
|
|||
return html` <a
|
||||
class="pf-c-button pf-m-primary"
|
||||
href="${ifDefined(this.configureUrl)}${AndNext(
|
||||
"/if/user/#/settings;page-sources",
|
||||
`/if/user/#/settings;${JSON.stringify({ page: "page-sources" })}`,
|
||||
)}"
|
||||
>
|
||||
${t`Connect`}
|
||||
|
|
Reference in New Issue