Skip to content

Commit

Permalink
Fixes visibility of blocks in Reassign Conversation
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicola Lanzilotto committed Feb 5, 2025
1 parent e7c4481 commit 9bb5f8f
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3885,9 +3885,9 @@ export class WsRequestsMsgsComponent extends WsSharedComponent implements OnInit
if (faqs) {

let processedItems = 0;
if (this.CURRENT_USER_ROLE === 'agent') {
faqs = faqs.filter(faq => faq.agents_available === true);
}
// if (this.CURRENT_USER_ROLE === 'agent') {
// faqs = faqs.filter(faq => faq.agents_available === true);
// }
faqs.forEach((faq, index) => {
processedItems++;
blocks[faq.intent_display_name] = faq.intent_display_name
Expand Down

0 comments on commit 9bb5f8f

Please sign in to comment.