Frontend: Fixes the "Replay Latest Crawl" button path (#1636)

- Fixes the path for the "Replay Latest Crawl" button on the watch crawl
page when the crawl workflow isn't running
This commit is contained in:
Henry Wilkinson 2024-04-03 18:19:46 -04:00 committed by GitHub
parent 6e8867c550
commit 432a727218
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1043,7 +1043,7 @@ export class WorkflowDetail extends LiteElement {
class="flex h-56 min-h-max flex-col items-center justify-center rounded-lg border p-4" class="flex h-56 min-h-max flex-col items-center justify-center rounded-lg border p-4"
> >
<p class="text-base font-medium"> <p class="text-base font-medium">
${msg("Crawl is not currently running.")} ${msg("Crawl workflow is not currently running.")}
</p> </p>
<div class="mt-4"> <div class="mt-4">
${when( ${when(
@ -1053,7 +1053,7 @@ export class WorkflowDetail extends LiteElement {
class="mr-2" class="mr-2"
href=${`${this.orgBasePath}/items/crawl/${ href=${`${this.orgBasePath}/items/crawl/${
this.workflow!.lastCrawlId this.workflow!.lastCrawlId
}?workflowId=${this.workflowId}#replay`} }#replay`}
variant="primary" variant="primary"
size="small" size="small"
@click=${this.navLink} @click=${this.navLink}