fix: use enable unfinished features env var to set enableV4

This commit is contained in:
Antonella Sgarlatta
2021-10-06 16:35:43 -03:00
parent 05b7337876
commit 1190ebbe41
4 changed files with 9 additions and 2 deletions

View File

@@ -55,6 +55,7 @@ export class WebApplication extends SNApplication {
scope: angular.IScope,
defaultSyncServerHost: string,
public bridge: Bridge,
enableUnfinishedFeatures: boolean,
webSocketUrl: string,
) {
super(
@@ -67,7 +68,7 @@ export class WebApplication extends SNApplication {
[],
defaultSyncServerHost,
AppVersion,
isDev,
enableUnfinishedFeatures,
webSocketUrl,
);
this.$compile = $compile;

View File

@@ -29,7 +29,8 @@ export class ApplicationGroup extends SNApplicationGroup {
$timeout: ng.ITimeoutService,
private defaultSyncServerHost: string,
private bridge: Bridge,
private webSocketUrl: string
private enableUnfinishedFeatures: boolean,
private webSocketUrl: string,
) {
super(new WebDeviceInterface($timeout, bridge));
this.$compile = $compile;
@@ -64,6 +65,7 @@ export class ApplicationGroup extends SNApplicationGroup {
scope,
this.defaultSyncServerHost,
this.bridge,
this.enableUnfinishedFeatures,
this.webSocketUrl,
);
const appState = new AppState(