From 6b485b9f939bb940cf2fe34a738a4b4b0ecf9524 Mon Sep 17 00:00:00 2001 From: Randall Morey Date: Sun, 5 Sep 2021 09:57:41 -0400 Subject: [PATCH] =?UTF-8?q?fix:=20=F0=9F=90=9B=20hide=20auth=20method=20cr?= =?UTF-8?q?eate=20link=20when=20grants=20missing?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../templates/scopes/scope/auth-methods/index.hbs | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/ui/admin/app/templates/scopes/scope/auth-methods/index.hbs b/ui/admin/app/templates/scopes/scope/auth-methods/index.hbs index 9297cfd32..a2f2d0860 100644 --- a/ui/admin/app/templates/scopes/scope/auth-methods/index.hbs +++ b/ui/admin/app/templates/scopes/scope/auth-methods/index.hbs @@ -187,16 +187,12 @@ }} {{/if}} - - - {{t 'titles.new'}} - {{#if (can 'create collection' this.scope collection='auth-methods')}} - - + + {{t 'titles.new'}} {{/if}}