Browse Source
Feature/enable import by default (#513)
* Enable import by default
* Update changelog
pull/514/head
Thomas Kaul
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
2 additions and
2 deletions
-
CHANGELOG.md
-
apps/api/src/services/configuration.service.ts
|
|
@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 |
|
|
|
### Changed |
|
|
|
|
|
|
|
- Improved the historical data view in the admin control panel (hide invalid and future dates) |
|
|
|
- Enabled the import functionality for transactions by default |
|
|
|
|
|
|
|
### Fixed |
|
|
|
|
|
|
|
|
|
@ -2,7 +2,6 @@ import { Injectable } from '@nestjs/common'; |
|
|
|
import { DataSource } from '@prisma/client'; |
|
|
|
import { bool, cleanEnv, host, json, num, port, str } from 'envalid'; |
|
|
|
|
|
|
|
import { environment } from '../environments/environment'; |
|
|
|
import { Environment } from './interfaces/environment.interface'; |
|
|
|
|
|
|
|
@Injectable() |
|
|
@ -18,7 +17,7 @@ export class ConfigurationService { |
|
|
|
ENABLE_FEATURE_BLOG: bool({ default: false }), |
|
|
|
ENABLE_FEATURE_CUSTOM_SYMBOLS: bool({ default: false }), |
|
|
|
ENABLE_FEATURE_FEAR_AND_GREED_INDEX: bool({ default: false }), |
|
|
|
ENABLE_FEATURE_IMPORT: bool({ default: !environment.production }), |
|
|
|
ENABLE_FEATURE_IMPORT: bool({ default: true }), |
|
|
|
ENABLE_FEATURE_SOCIAL_LOGIN: bool({ default: false }), |
|
|
|
ENABLE_FEATURE_STATISTICS: bool({ default: false }), |
|
|
|
ENABLE_FEATURE_SUBSCRIPTION: bool({ default: false }), |
|
|
|