Skip to content

Commit 69b9d8d

Browse files
author
Gabriele Panico
committed
minor bug-fixed
1 parent 7bd5784 commit 69b9d8d

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

src/app/chatbot-design-studio/cds-dashboard/cds-canvas/cds-intent/panel-intent-controls/panel-intent-controls.component.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
<!-- Enable / disable intent webhook -->
2121
<!-- ---------------------------------- -->
2222
<!-- -->
23-
<!-- <div *ngIf="deleteOptionEnabled"
23+
<div *ngIf="deleteOptionEnabled"
2424
class="intent-header-action-btn icon"
2525
[ngClass]="{'webhook-enabled': webhookEnabled }"
2626
(mouseover)="onMouseOverWebhookBtn()"
@@ -31,7 +31,7 @@
3131
matTooltipPosition='above'
3232
matTooltipHideDelay="100">
3333
<img src="assets/images/icons/webhook.svg">
34-
</div> -->
34+
</div>
3535

3636
<!-- ---------------------------------- -->
3737
<!-- Test intent play btn -->

src/app/services/dashboard.service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ export class DashboardService {
140140
departments.forEach((dept: any) => {
141141
// this.logger.log('[CDS DSHBRD] - DEPT', dept);
142142
if (dept.default === true) {
143-
this.defaultDepartment = dept._id;
143+
this.defaultDepartment = dept;
144144
return
145145
}
146146
})

src/app/shared/shared.module.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ import { FormBuilder, FormsModule, ReactiveFormsModule } from '@angular/forms';
2121
exports: [
2222
LoadingSpinnerComponent,
2323
NotificationMessageComponent,
24-
TranslateModule,
24+
// TranslateModule,
2525
// DirectivesModule
2626
],
2727
})

0 commit comments

Comments
 (0)