@@ -36,6 +36,7 @@ export class SidebarComponent implements OnInit {
3636 isVisibleACT : boolean ;
3737 isVisibleMON : boolean ;
3838 isVisibleCNT : boolean ;
39+ isVisibleAUT : boolean ;
3940 isVisibleKNB : boolean ;
4041 photo_profile_URL : string ;
4142 project_id : string ;
@@ -45,6 +46,7 @@ export class SidebarComponent implements OnInit {
4546 public_Key : any ;
4647 conversations_lbl : string ;
4748 contacts_lbl : string ;
49+ whatsapp_lbl : string ;
4850 apps_lbl : string ;
4951 analytics_lbl : string ;
5052 activities_lbl : string ;
@@ -58,6 +60,7 @@ export class SidebarComponent implements OnInit {
5860 dashboard_bots_url : string ;
5961 dashboard_convs_url : string ;
6062 dashboard_contacts_url : string ;
63+ dashboard_wa_url : string ;
6164 dashboard_app_url : string ;
6265 dashboard_analytics_url : string ;
6366 dashboard_activities_url : string ;
@@ -108,6 +111,7 @@ export class SidebarComponent implements OnInit {
108111 this . dashboard_bots_url = this . DASHBOARD_URL + this . project_id + '/bots'
109112 this . dashboard_convs_url = this . DASHBOARD_URL + this . project_id + '/wsrequests'
110113 this . dashboard_contacts_url = this . DASHBOARD_URL + this . project_id + '/contacts'
114+ this . dashboard_wa_url = this . DASHBOARD_URL + this . project_id + '/automations'
111115 this . dashboard_app_url = this . DASHBOARD_URL + this . project_id + '/app-store'
112116 this . dashboard_analytics_url = this . DASHBOARD_URL + this . project_id + '/analytics'
113117 this . dashboard_activities_url = this . DASHBOARD_URL + this . project_id + '/activities'
@@ -247,6 +251,7 @@ export class SidebarComponent implements OnInit {
247251 const keys = [
248252 'Conversations' ,
249253 'LABEL_CONTACTS' ,
254+ 'LABEL_WA' ,
250255 'Apps' ,
251256 'Analytics' ,
252257 'Activities' ,
@@ -257,6 +262,7 @@ export class SidebarComponent implements OnInit {
257262 this . translate . get ( keys ) . subscribe ( ( text : string ) => {
258263 this . conversations_lbl = text [ 'Conversations' ] ;
259264 this . contacts_lbl = text [ 'LABEL_CONTACTS' ]
265+ this . whatsapp_lbl = text [ 'LABEL_WA' ]
260266 this . apps_lbl = text [ 'Apps' ]
261267 this . analytics_lbl = text [ 'Analytics' ]
262268 this . activities_lbl = text [ 'Activities' ]
@@ -274,6 +280,7 @@ export class SidebarComponent implements OnInit {
274280 this . isVisibleAPP = getOSCode ( "APP" , this . public_Key ) ;
275281 this . isVisibleMON = getOSCode ( "MON" , this . public_Key ) ;
276282 this . isVisibleCNT = getOSCode ( "CNT" , this . public_Key ) ;
283+ this . isVisibleAUT = getOSCode ( "AUT" , this . public_Key ) ;
277284 this . isVisibleKNB = getOSCode ( "KNB" , this . public_Key ) ;
278285
279286 }
0 commit comments