Skip to content
This repository has been archived by the owner on Dec 2, 2023. It is now read-only.

Commit

Permalink
add ability to hide omf badge
Browse files Browse the repository at this point in the history
  • Loading branch information
wodka committed Jun 11, 2020
1 parent 0a1a21d commit 4cb0668
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions src/service/setting.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ export class SettingService {
return [
'SIGNUP_DISABLED',
'LOGIN_NOTE',
'HIDE_CONTRIB',
].includes(key)
}

Expand All @@ -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))
}

Expand Down

0 comments on commit 4cb0668

Please sign in to comment.