1
0
Fork 0
mirror of synced 2024-09-11 23:16:00 +12:00
This commit is contained in:
Andrew Kingston 2023-01-09 12:06:45 +00:00
parent b6e237874a
commit 99ba588478

View file

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