diff --git a/frontend/src/pages/archive/crawl-templates-list.ts b/frontend/src/pages/archive/crawl-templates-list.ts index 71067b61..11591156 100644 --- a/frontend/src/pages/archive/crawl-templates-list.ts +++ b/frontend/src/pages/archive/crawl-templates-list.ts @@ -89,28 +89,19 @@ export class CrawlTemplatesList extends LiteElement {
${this.crawlTemplates.map( (t) => - html`
{ - this.navTo( - `/archives/${this.archiveId}/crawl-templates/config/${t.id}` - ); - }} + href=${`/archives/${this.archiveId}/crawl-templates/config/${t.id}`} + @click=${this.navLink} >
- { - e.stopPropagation(); - this.navLink(e); - }} > - ${t.name || "?"} - + ${t.name} +
${this.renderCardMenu(t)} @@ -235,7 +226,7 @@ export class CrawlTemplatesList extends LiteElement {
${this.renderCardFooter(t)} - ` + ` )} @@ -347,7 +338,7 @@ export class CrawlTemplatesList extends LiteElement { } return html` - e.stopPropagation()}> + e.preventDefault()}>