hotfix: localize msg string throwing error
Created https://github.com/webrecorder/browsertrix-cloud/issues/495 to catch issues before merge
This commit is contained in:
parent
b0745a63f7
commit
7a476e31ed
0
frontend/src/__generated__/.keep
generated
0
frontend/src/__generated__/.keep
generated
@ -1329,15 +1329,14 @@ https://example.net`}
|
||||
|
||||
private renderConfirmSettings = () => {
|
||||
const errorAlert = when(this.formHasError, () => {
|
||||
const crawlSetupUrl = `${window.location.href.split("#")[0]}#crawlSetup`;
|
||||
const errorMessage = this.hasRequiredFields()
|
||||
? msg(
|
||||
"There are issues with this crawl configuration. Please go through previous steps and fix all issues to continue."
|
||||
)
|
||||
: msg(html`There is an issue with this crawl configuration:<br /><br />Crawl
|
||||
URL(s) required in
|
||||
<a
|
||||
href="${`${window.location.href.split("#")[0]}#crawlSetup`}"
|
||||
class="bold underline hover:no-underline"
|
||||
<a href="${crawlSetupUrl}" class="bold underline hover:no-underline"
|
||||
>Crawl Setup</a
|
||||
>. <br /><br />
|
||||
Please fix to continue.`);
|
||||
|
@ -704,7 +704,7 @@ export class CrawlTemplatesList extends LiteElement {
|
||||
class="underline hover:no-underline"
|
||||
href="/archives/${this
|
||||
.archiveId}/crawls/crawl/${data.started}#watch"
|
||||
@click=${this.navLink.bind(this)}
|
||||
@click="${this.navLink.bind(this)}"
|
||||
>Watch crawl</a
|
||||
>`
|
||||
),
|
||||
|
Loading…
Reference in New Issue
Block a user