From 491cbff2defd5d2c10b56bf0353da4a375f806d9 Mon Sep 17 00:00:00 2001 From: Michael Schramm Date: Tue, 16 Jun 2020 10:23:47 +0200 Subject: [PATCH] only show login note if it is set --- CHANGELOG.md | 1 + pages/login/index.tsx | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8d420a3..398a290 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/pages/login/index.tsx b/pages/login/index.tsx index 320c068..bd5f2f2 100644 --- a/pages/login/index.tsx +++ b/pages/login/index.tsx @@ -76,7 +76,7 @@ const Index: NextPage = () => { }} /> - {data && ( + {data && data.loginNote && (