From 1842631056eedc8e42e7e265827710e0ddb3e090 Mon Sep 17 00:00:00 2001 From: Zhihe Li Date: Thu, 11 Aug 2022 13:47:22 -0400 Subject: [PATCH] =?UTF-8?q?fix:=20=F0=9F=90=9B=20Add=20feature=20flag=20fo?= =?UTF-8?q?r=20BYOW=20(#1250)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ui/admin/app/templates/scopes/scope.hbs | 7 ++++++- ui/admin/config/environment.js | 3 +++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/ui/admin/app/templates/scopes/scope.hbs b/ui/admin/app/templates/scopes/scope.hbs index 4dfc2e2f6..a03669b7f 100644 --- a/ui/admin/app/templates/scopes/scope.hbs +++ b/ui/admin/app/templates/scopes/scope.hbs @@ -22,7 +22,12 @@ {{t 'resources.org.title_plural'}} - {{#if (can 'navigate worker' @model collection='workers')}} + {{#if + (and + (can 'navigate worker' @model collection='workers') + (feature-flag 'byow') + ) + }}