@hivegpt/hiveai-angular 0.0.276 → 0.0.277

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.
@@ -1427,6 +1427,10 @@ class ChatDrawerComponent {
1427
1427
  this.editorsDrawer.open();
1428
1428
  this.isDrawerOpen = true;
1429
1429
  this.cdr.detectChanges();
1430
+ const button = document.getElementById('botcloseplaygroundbutton');
1431
+ if (button) {
1432
+ button.style.display = 'none';
1433
+ }
1430
1434
  }
1431
1435
  onCloseEditor() {
1432
1436
  this.editorsDrawer.close();
@@ -1796,7 +1800,7 @@ class BotHtmlEditorComponent {
1796
1800
  };
1797
1801
  return this.http.post(url, data, { headers }).pipe(switchMap((res) => {
1798
1802
  if (res) {
1799
- alert('Saved Successfully');
1803
+ // alert('Saved Successfully');
1800
1804
  }
1801
1805
  this.cdr.markForCheck();
1802
1806
  return of(res);
@@ -1818,7 +1822,7 @@ class BotHtmlEditorComponent {
1818
1822
  };
1819
1823
  return this.http.put(url, data, { headers }).pipe(switchMap((res) => {
1820
1824
  if (res) {
1821
- alert('Updated Successfully');
1825
+ // alert('Updated Successfully');
1822
1826
  }
1823
1827
  this.cdr.markForCheck();
1824
1828
  return of(res);