Fix "Run now" button (#234)
This commit is contained in:
parent
955197579e
commit
6e19e854be
@ -326,7 +326,9 @@ export class CrawlTemplatesList extends LiteElement {
|
|||||||
? html`<sl-tooltip>
|
? html`<sl-tooltip>
|
||||||
<span slot="content" class="capitalize">
|
<span slot="content" class="capitalize">
|
||||||
${msg(
|
${msg(
|
||||||
str`Last Crawl: ${t.lastCrawlState && t.lastCrawlState.replace(/_/g, " ")}`
|
str`Last Crawl: ${
|
||||||
|
t.lastCrawlState && t.lastCrawlState.replace(/_/g, " ")
|
||||||
|
}`
|
||||||
)}
|
)}
|
||||||
</span>
|
</span>
|
||||||
<a
|
<a
|
||||||
@ -524,7 +526,7 @@ export class CrawlTemplatesList extends LiteElement {
|
|||||||
? "bg-purple-50"
|
? "bg-purple-50"
|
||||||
: "bg-white"} border-purple-200 hover:border-purple-500 text-purple-600 transition-colors"
|
: "bg-white"} border-purple-200 hover:border-purple-500 text-purple-600 transition-colors"
|
||||||
@click=${(e: any) => {
|
@click=${(e: any) => {
|
||||||
e.stopPropagation();
|
e.preventDefault();
|
||||||
this.runningCrawlsMap[t.id]
|
this.runningCrawlsMap[t.id]
|
||||||
? this.navTo(
|
? this.navTo(
|
||||||
`/archives/${this.archiveId}/crawls/crawl/${
|
`/archives/${this.archiveId}/crawls/crawl/${
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user