add ability to hide omf badge

This commit is contained in:
Michael Schramm 2020-06-11 17:16:15 +02:00
parent 0a1a21dcce
commit 4cb0668f09
2 changed files with 3 additions and 0 deletions

View File

@ -11,6 +11,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
- `DEFAULT_ROLE` -> `admin` | `superuser` | `user` - with `user` being the default, making it possible that new users can create their own forms after creating
- `LOGIN_NOTE` -> markdown for Login Page, to show info text on login page
- `HIDE_CONTRIB` -> ability to hide contribution banner
### Changed
### Fixed

View File

@ -13,6 +13,7 @@ export class SettingService {
return [
'SIGNUP_DISABLED',
'LOGIN_NOTE',
'HIDE_CONTRIB',
].includes(key)
}
@ -21,6 +22,7 @@ export class SettingService {
case 'SIGNUP_DISABLED':
case 'LOGIN_NOTE':
case 'DEFAULT_ROLE':
case 'HIDE_CONTRIB':
return new SettingModel(key, this.configService.get(key))
}