@chat21/chat21-ionic 3.4.27-rc1 → 3.4.27-rc2
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/CHANGELOG.md
CHANGED
package/package.json
CHANGED
|
@@ -556,7 +556,7 @@ export class ConversationDetailPage implements OnInit, OnDestroy, AfterViewInit
|
|
|
556
556
|
this.fileUploadAccept = this.checkAcceptedUploadFile(project)
|
|
557
557
|
this.rolesCanned = this.checkCannedResponsesRoles(project)
|
|
558
558
|
this.canShowCanned = this.checkCannedResponses(project)
|
|
559
|
-
|
|
559
|
+
this.logger.log('[CONVS-DETAIL] this.rolesCanned ', this.canShowCanned)
|
|
560
560
|
}
|
|
561
561
|
}, (error) => {
|
|
562
562
|
this.logger.error('[CONVS-DETAIL] - GET PROJECTID BY CONV RECIPIENT - ERROR ', error)
|
|
@@ -603,8 +603,8 @@ export class ConversationDetailPage implements OnInit, OnDestroy, AfterViewInit
|
|
|
603
603
|
|
|
604
604
|
let hasRoleToShowCanned = this.rolesCanned[PERMISSIONS.CANNED_RESPONSES_READ]
|
|
605
605
|
this.logger.log('[CONVS-DETAIL] checkCannedResponses hasRoleToShowCanned ', hasRoleToShowCanned)
|
|
606
|
-
if(hasRoleToShowCanned){
|
|
607
|
-
return
|
|
606
|
+
if(!hasRoleToShowCanned){
|
|
607
|
+
return false
|
|
608
608
|
}
|
|
609
609
|
|
|
610
610
|
return true
|