web: fix link on application list

This commit is contained in:
Jens Langhammer 2020-12-30 22:49:58 +01:00
parent b6c8c319e5
commit 6bfaf71c12
2 changed files with 3 additions and 3 deletions

View File

@ -15,10 +15,10 @@ export const SIDEBAR_ITEMS: SidebarItem[] = [
}),
new SidebarItem("Administration").children(
new SidebarItem("Applications", "/applications").activeWhen(
`^/applications/(?<slug>${SLUG_REGEX})/$`
`^/applications/(?<slug>${SLUG_REGEX})$`
),
new SidebarItem("Sources", "/administration/sources/").activeWhen(
`^/sources/(?<slug>${SLUG_REGEX})/$`,
`^/sources/(?<slug>${SLUG_REGEX})$`,
),
new SidebarItem("Providers", "/administration/providers/"),
new SidebarItem("Outposts", "/administration/outposts/"),

View File

@ -51,7 +51,7 @@ export class ApplicationListPage extends TablePage<Application> {
${item.meta_icon ?
html`<img class="app-icon pf-c-avatar" src="${item.meta_icon}" alt="${gettext("Application Icon")}">` :
html`<i class="pf-icon pf-icon-arrow"></i>`}`,
html`<a href="#/applications/${item.slug}/">
html`<a href="#/applications/${item.slug}">
<div>
${item.name}
</div>