@chat21/chat21-ionic 3.0.82-rc.1 → 3.0.82-rc.2

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,9 @@
1
1
  # chat21-ionic ver 3.0
2
2
 
3
+ ### 3.0.82-rc.2
4
+ - changed: 'force' parameter to /close post as body content
5
+ - changed: enabled MTT
6
+ - changed: position of 'LogOut' button in sidebar-user-detail component
3
7
  ### 3.0.82-rc.1
4
8
  - changed: forceArchive to force while calling /close API URL
5
9
  - changed: chat21Client.js from 1.12.1 to 1.12.2
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.82-rc.1",
4
+ "version": "3.0.82-rc.2",
5
5
  "license": "MIT License",
6
6
  "homepage": "https://tiledesk.com/",
7
7
  "repository": {
@@ -1353,7 +1353,6 @@ export class AppComponent implements OnInit {
1353
1353
  analytics.load("qaTU0wG6VH6xPAhOzD2kneI70Txg1fTB");
1354
1354
  analytics.page();
1355
1355
  }}();`
1356
- console.log('initttttt segmentttt', script)
1357
1356
  head.appendChild(script);
1358
1357
  }
1359
1358
  }
@@ -309,7 +309,7 @@ button.user-details-btn-close {
309
309
  text-align: center;
310
310
 
311
311
  padding-bottom: 15px;
312
- padding-top: 186px;
312
+ padding-top: 100px;
313
313
  font-size: 16px;
314
314
  font-weight: 400;
315
315
  z-index: 1;
@@ -18,6 +18,12 @@ ion-content {
18
18
  --offset-bottom: auto!important;
19
19
  --overflow: hidden;
20
20
  overflow: scroll;
21
+
22
+ /* For Firefox */
23
+ @-moz-document url-prefix() {
24
+ scrollbar-width: none;
25
+ }
26
+
21
27
  &:not(.mobile){
22
28
  background: var(--list-bkg-color);
23
29
  }
@@ -15,6 +15,13 @@ ion-content {
15
15
  --offset-bottom: auto!important;
16
16
  --overflow: hidden;
17
17
  overflow: scroll;
18
+
19
+ /* For Firefox */
20
+ @-moz-document url-prefix() {
21
+ scrollbar-width: none;
22
+ }
23
+
24
+
18
25
  &:not(.mobile){
19
26
  background: var(--list-bkg-color);
20
27
  }
@@ -36,11 +36,13 @@ export class TiledeskService {
36
36
  })
37
37
  };
38
38
 
39
- const body = {};
39
+ const body = {
40
+ force: true
41
+ };
40
42
  // console.log('CLOUD FUNCT CLOSE SUPPORT GROUP REQUEST BODY ', body);
41
43
  // https://tiledesk-server-pre.herokuapp.com/
42
44
  // const url = 'https://tiledesk-server-pre.herokuapp.com/' + this.project_id + '/requests/' + group_id + '/close';
43
- const url = this.apiUrl + projectid + '/requests/' + supportgroupid + '/close'+'?force=true';
45
+ const url = this.apiUrl + projectid + '/requests/' + supportgroupid + '/close';
44
46
 
45
47
  this.logger.log('[TILEDESK-SERVICE] - closeSupportGroup URL ', url);
46
48
  return this.http.put(url, body, httpOptions).pipe(map((res: any) => {