From 336cf1152100147be5efe30b0d7035a8263e7589 Mon Sep 17 00:00:00 2001 From: sua yoo Date: Mon, 31 Jan 2022 15:45:48 -0800 Subject: [PATCH] Fix "View crawl" links (#129) * update key * update in crawl config --- frontend/src/pages/archive/crawl-templates-detail.ts | 2 +- frontend/src/pages/archive/crawl-templates-list.ts | 2 +- frontend/src/pages/archive/crawl-templates-new.ts | 2 +- frontend/src/pages/archive/crawl-templates.ts | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/frontend/src/pages/archive/crawl-templates-detail.ts b/frontend/src/pages/archive/crawl-templates-detail.ts index ecb59d3d..e2e19769 100644 --- a/frontend/src/pages/archive/crawl-templates-detail.ts +++ b/frontend/src/pages/archive/crawl-templates-detail.ts @@ -419,7 +419,7 @@ export class CrawlTemplatesDetail extends LiteElement { this.crawlTemplate!.name }.
View crawl` + }/crawls/crawl/${data.started}">View crawl` ), type: "success", icon: "check2-circle", diff --git a/frontend/src/pages/archive/crawl-templates-list.ts b/frontend/src/pages/archive/crawl-templates-list.ts index 0716beaf..abd5a9d5 100644 --- a/frontend/src/pages/archive/crawl-templates-list.ts +++ b/frontend/src/pages/archive/crawl-templates-list.ts @@ -415,7 +415,7 @@ export class CrawlTemplatesList extends LiteElement { this.notify({ message: msg( - str`Started crawl from ${template.name}.
View crawl` + str`Started crawl from ${template.name}.
View crawl` ), type: "success", icon: "check2-circle", diff --git a/frontend/src/pages/archive/crawl-templates-new.ts b/frontend/src/pages/archive/crawl-templates-new.ts index dbe34a38..d9d52f6b 100644 --- a/frontend/src/pages/archive/crawl-templates-new.ts +++ b/frontend/src/pages/archive/crawl-templates-new.ts @@ -543,7 +543,7 @@ export class CrawlTemplatesNew extends LiteElement { this.notify({ message: data.run_now_job ? msg( - str`Crawl running with new template.
View crawl` + str`Crawl running with new template.
View crawl` ) : msg("Crawl template created."), type: "success", diff --git a/frontend/src/pages/archive/crawl-templates.ts b/frontend/src/pages/archive/crawl-templates.ts index e2db9b3a..e804756e 100644 --- a/frontend/src/pages/archive/crawl-templates.ts +++ b/frontend/src/pages/archive/crawl-templates.ts @@ -155,7 +155,7 @@ export class CrawlTemplatesList extends LiteElement { this.notify({ message: msg( - str`Started crawl from ${template.name}.
View crawl` + str`Started crawl from ${template.name}.
View crawl` ), type: "success", icon: "check2-circle",