diff --git a/frontend/src/pages/org/crawl-configs-detail.ts b/frontend/src/pages/org/crawl-configs-detail.ts
index 5ce1e7ce..80e266f8 100644
--- a/frontend/src/pages/org/crawl-configs-detail.ts
+++ b/frontend/src/pages/org/crawl-configs-detail.ts
@@ -188,7 +188,7 @@ export class CrawlTemplatesDetail extends LiteElement {
>
${configId
- ? msg(str`Back to ${this.crawlConfig?.name}`)
+ ? msg(str`Back to ${this.renderName()}`)
: msg("Back to Crawl Configs")}
@@ -200,11 +200,7 @@ export class CrawlTemplatesDetail extends LiteElement {
${this.renderHeader(this.crawlConfig!.id)}
-
- ${this.crawlConfig?.name
- ? html`${this.crawlConfig.name}`
- : ""}
-
+ ${this.renderName()}
${this.crawlConfig.name}.`
- ),
+ message: msg(html`Deactivated ${this.renderName()}.`),
variant: "success",
icon: "check2-circle",
});
@@ -561,8 +555,8 @@ export class CrawlTemplatesDetail extends LiteElement {
this.notify({
message: isDeactivating
- ? msg(html`Deactivated ${this.crawlConfig.name}.`)
- : msg(html`Deleted ${this.crawlConfig.name}.`),
+ ? msg(html`Deactivated ${this.renderName()}.`)
+ : msg(html`Deleted ${this.renderName()}.`),
variant: "success",
icon: "check2-circle",
});