From ce895604dc2a1394da920fe2ced2d4061b54d538 Mon Sep 17 00:00:00 2001 From: Westly Wright Date: Mon, 17 Sep 2018 12:18:41 -0700 Subject: [PATCH] previous fix wasn't right, need to check for lack of both resources --- app/components/namespace-table/template.hbs | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/app/components/namespace-table/template.hbs b/app/components/namespace-table/template.hbs index 197b361f9..8b05127bc 100644 --- a/app/components/namespace-table/template.hbs +++ b/app/components/namespace-table/template.hbs @@ -15,9 +15,13 @@ }} {{#if (eq kind "row")}} - - {{check-box nodeId=ns.id}} - + + {{#if (and projectsWithoutNamespace.length (not model.length))}} +   + {{else}} + {{check-box nodeId=ns.id}} + {{/if}} + {{badge-state model=ns}}