This commit is contained in:
Andrew Kingston 2023-01-09 12:06:45 +00:00
parent b6e237874a
commit 99ba588478
1 changed files with 0 additions and 3 deletions

View File

@ -1,7 +1,6 @@
<script> <script>
import { Page } from "@budibase/bbui" import { Page } from "@budibase/bbui"
import { SideNav, SideNavItem, Content } from "components/portal/page" import { SideNav, SideNavItem, Content } from "components/portal/page"
import { isEnabled, TENANT_FEATURE_FLAGS } from "helpers/featureFlags"
import { isActive, url } from "@roxi/routify" import { isActive, url } from "@roxi/routify"
$: wide = $isActive("./users/index") || $isActive("./groups/index") $: wide = $isActive("./users/index") || $isActive("./groups/index")
@ -16,13 +15,11 @@
url={$url("./users")} url={$url("./users")}
active={$isActive("./users")} active={$isActive("./users")}
/> />
<!--{#if isEnabled(TENANT_FEATURE_FLAGS.USER_GROUPS)}-->
<SideNavItem <SideNavItem
text="Groups" text="Groups"
url={$url("./groups")} url={$url("./groups")}
active={$isActive("./groups")} active={$isActive("./groups")}
/> />
<!--{/if}-->
</SideNav> </SideNav>
</div> </div>
<slot /> <slot />