From 38869cdd241c04525171be94731128ea8597b415 Mon Sep 17 00:00:00 2001 From: Ilya Kreymer Date: Wed, 20 Apr 2022 19:17:24 -0700 Subject: [PATCH] crawl templates: check that lastCrawlState is not null (#220) --- frontend/src/pages/archive/crawl-templates-list.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/pages/archive/crawl-templates-list.ts b/frontend/src/pages/archive/crawl-templates-list.ts index 1b2db067..443326d4 100644 --- a/frontend/src/pages/archive/crawl-templates-list.ts +++ b/frontend/src/pages/archive/crawl-templates-list.ts @@ -141,7 +141,7 @@ export class CrawlTemplatesList extends LiteElement { ? html` ${msg( - str`Last Crawl: ${t.lastCrawlState.replace( + str`Last Crawl: ${t.lastCrawlState && t.lastCrawlState.replace( /_/g, " " )}`