@chat21/chat21-ionic 3.4.0 → 3.4.1
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
|
@@ -36,8 +36,6 @@ export class CannedResponseComponent implements OnInit {
|
|
|
36
36
|
|
|
37
37
|
public arrowkeyLocation = -1
|
|
38
38
|
|
|
39
|
-
tparams: any;
|
|
40
|
-
PLAN_NAME = PLAN_NAME
|
|
41
39
|
|
|
42
40
|
private logger: LoggerService = LoggerInstance.getInstance();
|
|
43
41
|
constructor(
|
|
@@ -50,7 +48,6 @@ export class CannedResponseComponent implements OnInit {
|
|
|
50
48
|
|
|
51
49
|
ngOnInit() {
|
|
52
50
|
this.loggedUser = this.tiledeskAuthService.getCurrentUser()
|
|
53
|
-
this.tparams = {'plan_name': PLAN_NAME.A}
|
|
54
51
|
}
|
|
55
52
|
|
|
56
53
|
ngOnChanges(changes: SimpleChange){
|
|
@@ -367,7 +367,7 @@ export class ConversationDetailPage implements OnInit, OnDestroy, AfterViewInit
|
|
|
367
367
|
}
|
|
368
368
|
|
|
369
369
|
getOSCODE() {
|
|
370
|
-
this.supportMode = this.g.supportMode
|
|
370
|
+
this.supportMode = this.g.supportMode;
|
|
371
371
|
this.logger.log('[CONVS-DETAIL] AppConfigService getAppConfig supportMode', this.supportMode)
|
|
372
372
|
this.public_Key = this.appConfigProvider.getConfig().t2y12PruGU9wUtEGzBJfolMIgK
|
|
373
373
|
this.logger.log('[CONVS-DETAIL] AppConfigService getAppConfig public_Key', this.public_Key)
|
|
@@ -6,7 +6,7 @@ import { BehaviorSubject } from 'rxjs';
|
|
|
6
6
|
import { LoggerService } from 'src/chat21-core/providers/abstract/logger.service';
|
|
7
7
|
import { LoggerInstance } from 'src/chat21-core/providers/logger/loggerInstance';
|
|
8
8
|
import { Globals } from 'src/app/utils/globals';
|
|
9
|
-
import { getParameterByName, stringToBoolean } from 'src/chat21-core/utils/utils';
|
|
9
|
+
import { getParameterByName, getParameterValue, stringToBoolean } from 'src/chat21-core/utils/utils';
|
|
10
10
|
import { environment } from 'src/environments/environment';
|
|
11
11
|
|
|
12
12
|
@Injectable({
|
|
@@ -51,7 +51,7 @@ export class GlobalSettingsService {
|
|
|
51
51
|
/**SET PERSISTENCE parameter */
|
|
52
52
|
this.globals.persistence = this.appConfigService.getConfig().authPersistence
|
|
53
53
|
/**SET SUPPORTMODE parameter */
|
|
54
|
-
this.globals.supportMode = this.appConfigService.getConfig()
|
|
54
|
+
this.globals.supportMode = getParameterValue('supportMode', this.appConfigService.getConfig());
|
|
55
55
|
/** INIT STORAGE SERVICE */
|
|
56
56
|
this.appStorageService.initialize(environment.storage_prefix, this.globals.persistence, '')
|
|
57
57
|
|