@chat21/chat21-ionic 3.0.77-rc.2 → 3.0.77-rc.3

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
@@ -1,5 +1,8 @@
1
1
  # chat21-ionic ver 3.0
2
2
 
3
+ ### 3.0.77-rc.3
4
+ - bug-fixed: with env
5
+
3
6
  ### 3.0.77-rc.2
4
7
  - bug-fixed: on ng-select focused element show blue border
5
8
  - removed: unused labels and translations
@@ -12,7 +12,7 @@ sed -i -e "s/$URL_VER/g" src/utils/constants.ts
12
12
 
13
13
  ionic cordova platform add browser --save
14
14
  #ionic cordova build browser --prod --release
15
- ionic cordova build --env=pre browser #--prod --verbose
15
+ ionic cordova build --configuration="pre" browser #--prod --verbose
16
16
 
17
17
  cp -p src/firebase-messaging-sw.js platforms/browser/www/
18
18
  cp -p src/manifest.json platforms/browser/www/
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@chat21/chat21-ionic",
3
3
  "author": "Tiledesk SRL",
4
- "version": "3.0.77-rc.2",
4
+ "version": "3.0.77-rc.3",
5
5
  "license": "MIT License",
6
6
  "homepage": "https://tiledesk.com/",
7
7
  "repository": {
@@ -15,7 +15,7 @@
15
15
  onerror="this.src='assets/images/no_image_user.png'" />
16
16
 
17
17
  <div *ngIf="!USER_PHOTO_PROFILE_EXIST" id="sidebaravatar-no-img" class="sidebar-avatar"
18
- [ngStyle]="{'background': 'linear-gradient(rgb(255,255,255) -125%,' + user?.fillColour + ')'}">
18
+ [ngStyle]="{'background': 'linear-gradient(rgb(255,255,255) -125%,' + currentUser?.fillColour + ')'}">
19
19
  <span id="sidebaravatar-altenative-user-avatar" class="sidebar-altenative-user-avatar">
20
20
  {{ currentUser?.fullname_initial }}
21
21
  </span>
@@ -25,10 +25,10 @@ export class SidebarComponent implements OnInit {
25
25
  private logger: LoggerService = LoggerInstance.getInstance();
26
26
 
27
27
  USER_ROLE: string = 'agent'
28
+ SIDEBAR_IS_SMALL = true
28
29
  IS_AVAILABLE: boolean;
29
30
  IS_INACTIVE: boolean;
30
- IS_BUSY: boolean;
31
-
31
+ IS_BUSY: boolean;
32
32
  isVisibleAPP: boolean;
33
33
  isVisibleANA: boolean;
34
34
  isVisibleACT: boolean;