crawl templates: check that lastCrawlState is not null (#220)

This commit is contained in:
Ilya Kreymer 2022-04-20 19:17:24 -07:00 committed by GitHub
parent db27b6aaaf
commit 38869cdd24
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -141,7 +141,7 @@ export class CrawlTemplatesList extends LiteElement {
? html`<sl-tooltip>
<span slot="content" class="capitalize">
${msg(
str`Last Crawl: ${t.lastCrawlState.replace(
str`Last Crawl: ${t.lastCrawlState && t.lastCrawlState.replace(
/_/g,
" "
)}`