Remove three old env variables (#2297)
* remove three old env variables IS_DATA_MODEL_SETTINGS_ENABLED IS_DEVELOPERS_SETTINGS_ENABLED FLEXIBLE_BACKEND_ENABLED * Fix database:reset script * Removing unused variable --------- Co-authored-by: Charles Bochet <charles@twenty.com>
This commit is contained in:
@ -41,18 +41,9 @@ export class ClientConfig {
|
||||
@Field(() => Boolean)
|
||||
signInPrefilled: boolean;
|
||||
|
||||
@Field(() => Boolean)
|
||||
dataModelSettingsEnabled: boolean;
|
||||
|
||||
@Field(() => Boolean)
|
||||
developersSettingsEnabled: boolean;
|
||||
|
||||
@Field(() => Boolean)
|
||||
debugMode: boolean;
|
||||
|
||||
@Field(() => Boolean)
|
||||
flexibleBackendEnabled: boolean;
|
||||
|
||||
@Field(() => Support)
|
||||
support: Support;
|
||||
}
|
||||
|
||||
@ -22,13 +22,7 @@ export class ClientConfigResolver {
|
||||
this.environmentService.isTelemetryAnonymizationEnabled(),
|
||||
},
|
||||
signInPrefilled: this.environmentService.isSignInPrefilled(),
|
||||
dataModelSettingsEnabled:
|
||||
this.environmentService.isDataModelSettingsEnabled(),
|
||||
developersSettingsEnabled:
|
||||
this.environmentService.isDevelopersSettingsEnabled(),
|
||||
debugMode: this.environmentService.isDebugMode(),
|
||||
flexibleBackendEnabled:
|
||||
this.environmentService.isFlexibleBackendEnabled(),
|
||||
support: {
|
||||
supportDriver: this.environmentService.getSupportDriver(),
|
||||
supportFrontChatId: this.environmentService.getSupportFrontChatId(),
|
||||
|
||||
Reference in New Issue
Block a user