web/user: fix configureUrl not being passed to <ak-user-settings-password>

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer 2021-11-02 13:21:01 +01:00
parent 1aa9c0f9ca
commit 3a80bc8bda
2 changed files with 3 additions and 4 deletions

View file

@ -95,7 +95,9 @@ export class UserSettingsPage extends LitElement {
stage.component === "ak-user-settings-password",
).length > 0
) {
return html`<ak-user-settings-password></ak-user-settings-password>`;
return html`<ak-user-settings-password
configureUrl=${settings[0].configureUrl}
></ak-user-settings-password>`;
}
}),
)}

View file

@ -15,9 +15,6 @@ import PFBase from "@patternfly/patternfly/patternfly-base.css";
@customElement("ak-user-settings-password")
export class UserSettingsPassword extends LitElement {
@property()
objectId!: string;
@property()
configureUrl?: string;