Skip to content

Commit bd2bb03

Browse files
committed
feat: show orgs filter only if more than 1 org
1 parent bb64996 commit bd2bb03

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

site/src/pages/TemplatesPage/MultiOrgTemplatePage/TemplatesPageView.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ export const TemplatesPageView: FC<TemplatesPageViewProps> = ({
105105
{Boolean(!templatesByOrg) && <Loader />}
106106

107107
<Stack direction="row" spacing={4} alignItems="flex-start">
108-
{templatesByOrg && orgs && (
108+
{templatesByOrg && orgs && orgs.length > 2 && (
109109
<Stack
110110
css={{ width: 208, flexShrink: 0, position: "sticky", top: 48 }}
111111
>

0 commit comments

Comments
 (0)