only show login note if it is set

This commit is contained in:
Michael Schramm 2020-06-16 10:23:47 +02:00
parent a6c98b6dfd
commit 491cbff2de
2 changed files with 2 additions and 1 deletions

View File

@ -11,6 +11,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
### Changed
### Fixed
- do not show login note if it is not set
- typo in dropdown options https://github.com/ohmyform/ohmyform/issues/96
### Security

View File

@ -76,7 +76,7 @@ const Index: NextPage = () => {
}}
/>
{data && (
{data && data.loginNote && (
<Alert
type="warning"
showIcon