@hivegpt/hiveai-angular 0.0.298 → 0.0.299

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -372,9 +372,11 @@ class ChatDrawerComponent {
372
372
  if (changes.orgId.currentValue != changes.orgId.previousValue &&
373
373
  changes.orgId.currentValue) {
374
374
  this.initializeSocket();
375
- this.botService.getWorkflowsByOrgId(this.orgId).subscribe((res) => {
376
- this.orgWorkflows = res;
377
- });
375
+ if (this.botId != '66fa3f276c5d71e2717bfea8') {
376
+ this.botService.getWorkflowsByOrgId(this.orgId).subscribe((res) => {
377
+ this.orgWorkflows = res;
378
+ });
379
+ }
378
380
  }
379
381
  }
380
382
  }
@@ -399,10 +401,12 @@ class ChatDrawerComponent {
399
401
  this.fetchEditorContent();
400
402
  this.cdr.markForCheck();
401
403
  // this.initializeSocket();
402
- this.botService.fetchSpeechAuthorizationToken().subscribe((token) => {
403
- this.authorizationToken = token;
404
- this.initializeSpeechRecognizer(token);
405
- });
404
+ if (this.botId != '66fa3f276c5d71e2717bfea8') {
405
+ this.botService.fetchSpeechAuthorizationToken().subscribe((token) => {
406
+ this.authorizationToken = token;
407
+ this.initializeSpeechRecognizer(token);
408
+ });
409
+ }
406
410
  }
407
411
  initializeSocket() {
408
412
  try {