@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.
- package/bundles/hivegpt-hiveai-angular.umd.js +6 -2
- package/bundles/hivegpt-hiveai-angular.umd.js.map +1 -1
- package/bundles/hivegpt-hiveai-angular.umd.min.js +1 -1
- package/bundles/hivegpt-hiveai-angular.umd.min.js.map +1 -1
- package/esm2015/lib/components/bot-html-editor/bot-html-editor.component.js +3 -3
- package/esm2015/lib/components/chat-drawer/chat-drawer.component.js +5 -1
- package/fesm2015/hivegpt-hiveai-angular.js +6 -2
- package/fesm2015/hivegpt-hiveai-angular.js.map +1 -1
- package/lib/components/chat-drawer/chat-drawer.component.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -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);
|