web: fix old Links

This commit is contained in:
Jens Langhammer 2021-02-20 18:27:19 +01:00
parent a3c9d5873c
commit 672b86ef88
4 changed files with 4 additions and 5 deletions

View file

@ -38,9 +38,9 @@ export class AdminOverviewPage extends LitElement {
</ak-aggregate-card>
<ak-admin-status-card-provider class="pf-l-gallery__item pf-m-4-col" icon="pf-icon pf-icon-plugged" header="Providers" headerLink="#/core/providers/">
</ak-admin-status-card-provider>
<ak-admin-status-card-policy-unbound class="pf-l-gallery__item pf-m-4-col" icon="pf-icon pf-icon-infrastructure" header="Policies" headerLink="#/administration/policies/">
<ak-admin-status-card-policy-unbound class="pf-l-gallery__item pf-m-4-col" icon="pf-icon pf-icon-infrastructure" header="Policies" headerLink="#/policy/policies">
</ak-admin-status-card-policy-unbound>
<ak-admin-status-card-user-count class="pf-l-gallery__item pf-m-4-col" icon="pf-icon pf-icon-user" header="Users" headerLink="#/administration/users/">
<ak-admin-status-card-user-count class="pf-l-gallery__item pf-m-4-col" icon="pf-icon pf-icon-user" header="Users" headerLink="#/identity/users">
</ak-admin-status-card-user-count>
<ak-admin-status-version class="pf-l-gallery__item pf-m-4-col" icon="pf-icon pf-icon-bundle" header="Version" headerLink="https://github.com/BeryJu/authentik/releases">
</ak-admin-status-version>

View file

@ -25,7 +25,7 @@ export class FlowCacheStatusCard extends AdminStatusCard<number> {
}
renderHeaderLink(): TemplateResult {
return html`<ak-modal-button href="/administration/overview/cache/flow/">
return html`<ak-modal-button href="#/flow/flows">
<a slot="trigger">
<i class="fa fa-trash"> </i>
</a>

View file

@ -26,7 +26,7 @@ export class PolicyCacheStatusCard extends AdminStatusCard<number> {
}
renderHeaderLink(): TemplateResult {
return html`<ak-modal-button href="/administration/overview/cache/policy/">
return html`<ak-modal-button href="#/policy/policies">
<a slot="trigger">
<i class="fa fa-trash"> </i>
</a>

View file

@ -104,7 +104,6 @@ export class FlowExecutor extends LitElement {
default:
break;
}
// this.flowBody = html`${unsafeHTML(`<${data.component} .args="${data.args}"></${data.component}>`)}`;
break;
default:
console.debug(`authentik/flows: unexpected data type ${data.type}`);