add ability to hide omf badge
This commit is contained in:
parent
0a1a21dcce
commit
4cb0668f09
@ -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
|
||||
|
||||
@ -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))
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user