Fix "View crawl" links (#129)

* update key

* update in crawl config
This commit is contained in:
sua yoo 2022-01-31 15:45:48 -08:00 committed by GitHub
parent d7c0877403
commit 336cf11521
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 4 additions and 4 deletions

View File

@ -419,7 +419,7 @@ export class CrawlTemplatesDetail extends LiteElement {
this.crawlTemplate!.name
}</strong>. <br /><a class="underline hover:no-underline" href="/archives/${
this.archiveId
}/crawls/crawl/${data.run_now_job}">View crawl</a>`
}/crawls/crawl/${data.started}">View crawl</a>`
),
type: "success",
icon: "check2-circle",

View File

@ -415,7 +415,7 @@ export class CrawlTemplatesList extends LiteElement {
this.notify({
message: msg(
str`Started crawl from <strong>${template.name}</strong>. <br /><a class="underline hover:no-underline" href="/archives/${this.archiveId}/crawls/crawl/${data.run_now_job}">View crawl</a>`
str`Started crawl from <strong>${template.name}</strong>. <br /><a class="underline hover:no-underline" href="/archives/${this.archiveId}/crawls/crawl/${data.started}">View crawl</a>`
),
type: "success",
icon: "check2-circle",

View File

@ -543,7 +543,7 @@ export class CrawlTemplatesNew extends LiteElement {
this.notify({
message: data.run_now_job
? msg(
str`Crawl running with new template. <br /><a class="underline hover:no-underline" href="/archives/${this.archiveId}/crawls/crawl/${data.run_now_job}">View crawl</a>`
str`Crawl running with new template. <br /><a class="underline hover:no-underline" href="/archives/${this.archiveId}/crawls/crawl/${data.started}">View crawl</a>`
)
: msg("Crawl template created."),
type: "success",

View File

@ -155,7 +155,7 @@ export class CrawlTemplatesList extends LiteElement {
this.notify({
message: msg(
str`Started crawl from <strong>${template.name}</strong>. <br /><a class="underline hover:no-underline" href="/archives/${this.archiveId}/crawls/crawl/${data.run_now_job}">View crawl</a>`
str`Started crawl from <strong>${template.name}</strong>. <br /><a class="underline hover:no-underline" href="/archives/${this.archiveId}/crawls/crawl/${data.started}">View crawl</a>`
),
type: "success",
icon: "check2-circle",