diff --git a/src/app/bots/bots-list/chatbot-alert/chatbot-alert.component.ts b/src/app/bots/bots-list/chatbot-alert/chatbot-alert.component.ts index c94d3024224d..4178d20c92ba 100644 --- a/src/app/bots/bots-list/chatbot-alert/chatbot-alert.component.ts +++ b/src/app/bots/bots-list/chatbot-alert/chatbot-alert.component.ts @@ -61,8 +61,10 @@ export class ChatbotAlertComponent extends PricingBaseComponent implements OnIni takeUntil(this.unsubscribe$) ) .subscribe((project) => { - this.project = project; - this.projectId = project._id + if (project) { + this.project = project; + this.projectId = project._id + } }) }