From d3e9359b41e7155fb405061bce94c4f81959afcc Mon Sep 17 00:00:00 2001 From: Randall Morey Date: Thu, 27 Aug 2020 13:57:33 -0400 Subject: [PATCH] =?UTF-8?q?fix:=20=F0=9F=90=9B=20dropdown=20link=20should?= =?UTF-8?q?=20work=20without=20a=20model?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/rose/dropdown/link.hbs | 26 +++++++++++++------ 1 file changed, 18 insertions(+), 8 deletions(-) diff --git a/addons/rose/addon/templates/components/rose/dropdown/link.hbs b/addons/rose/addon/templates/components/rose/dropdown/link.hbs index 6b3bd413a..0213454f6 100644 --- a/addons/rose/addon/templates/components/rose/dropdown/link.hbs +++ b/addons/rose/addon/templates/components/rose/dropdown/link.hbs @@ -1,8 +1,18 @@ - - {{yield}} - \ No newline at end of file +{{#if @model}} + + {{yield}} + +{{else}} + + {{yield}} + +{{/if}}