From 6e19e854bee253021c0ef0389314d3dcce47e99b Mon Sep 17 00:00:00 2001 From: sua yoo Date: Mon, 30 May 2022 16:15:10 -0700 Subject: [PATCH] Fix "Run now" button (#234) --- frontend/src/pages/archive/crawl-templates-list.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/frontend/src/pages/archive/crawl-templates-list.ts b/frontend/src/pages/archive/crawl-templates-list.ts index a6bbdc5e..ecfc4558 100644 --- a/frontend/src/pages/archive/crawl-templates-list.ts +++ b/frontend/src/pages/archive/crawl-templates-list.ts @@ -326,7 +326,9 @@ export class CrawlTemplatesList extends LiteElement { ? html` ${msg( - str`Last Crawl: ${t.lastCrawlState && t.lastCrawlState.replace(/_/g, " ")}` + str`Last Crawl: ${ + t.lastCrawlState && t.lastCrawlState.replace(/_/g, " ") + }` )} { - e.stopPropagation(); + e.preventDefault(); this.runningCrawlsMap[t.id] ? this.navTo( `/archives/${this.archiveId}/crawls/crawl/${