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