From 36612551337ed669cc47a19180c4da5adef6f7ae Mon Sep 17 00:00:00 2001 From: Westly Wright Date: Mon, 4 Mar 2019 16:42:50 -0700 Subject: [PATCH] only show other roles if present on mc apps --- .../form-global-resource-roles/template.hbs | 30 ++++++++++--------- 1 file changed, 16 insertions(+), 14 deletions(-) diff --git a/lib/shared/addon/components/form-global-resource-roles/template.hbs b/lib/shared/addon/components/form-global-resource-roles/template.hbs index ef4ade936..d53022849 100644 --- a/lib/shared/addon/components/form-global-resource-roles/template.hbs +++ b/lib/shared/addon/components/form-global-resource-roles/template.hbs @@ -23,17 +23,19 @@ -
- - - - {{#each otherRoles as |role|}} - - - - {{/each}} - -
{{role}}
-
\ No newline at end of file +{{#if otherRoles.length}} +
+ + + + {{#each otherRoles as |role|}} + + + + {{/each}} + +
{{role}}
+
+{{/if}} \ No newline at end of file