From 22700688b65b75cbc71ef49909d48242023025a6 Mon Sep 17 00:00:00 2001 From: dharini Date: Thu, 6 Jan 2022 10:42:06 -0800 Subject: [PATCH] =?UTF-8?q?feat:=20=F0=9F=8E=B8=20show=20a=20tag=20only=20?= =?UTF-8?q?if=20href=20and=20link=20are=20present?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../rose/addon/components/rose/form/helper-text/index.hbs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/addons/rose/addon/components/rose/form/helper-text/index.hbs b/addons/rose/addon/components/rose/form/helper-text/index.hbs index 4dadb4d55..7b803ae83 100644 --- a/addons/rose/addon/components/rose/form/helper-text/index.hbs +++ b/addons/rose/addon/components/rose/form/helper-text/index.hbs @@ -4,5 +4,9 @@ ...attributes > {{yield}} -{{@linkText}} + {{#if @link}} + {{#if @linkText}} + {{@linkText}} + {{/if}} + {{/if}}