Skip to content

Commit

Permalink
bug-fixed: if only default department exist and not has a bot, do not…
Browse files Browse the repository at this point in the history
… show choise department section
  • Loading branch information
Gabriele Panico committed Nov 15, 2023
1 parent 6634499 commit d0c355a
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,6 @@ export class CdsModalActivateBotComponent implements OnInit {

this.logger.log('[ACTIVATE-BOT-MODAL-COMPONENT] ---> DEFAULT DEPT HAS BOT ', this.departments[0].hasBot);
if (!this.departments[0].hasBot) {
this.DEPTS_HAS_NOT_A_BOT = true
this.hookBotToDept()
this.logger.log('[ACTIVATE-BOT-MODAL-COMPONENT] ---> DEFAULT DEPT HAS BOT ');
// this.DISPLAY_BTN_ACTIVATE_BOT_FOR_NEW_CONV = false;
Expand Down

0 comments on commit d0c355a

Please sign in to comment.