@@ -12,6 +12,7 @@ import Zone from './Zone';
1212import { SidebarItemSkeleton } from '@/components/ui/widgets/Loaders' ;
1313import FgLink from '@/components/designSystem/atoms/FgLink' ;
1414import FgSwitch from '@/components/designSystem/atoms/formElements/FgSwitch' ;
15+ import FgFormField from '@/components/designSystem/molecules/FgFormField' ;
1516
1617export default function ZonesBrowser ( {
1718 searchQuery,
@@ -77,14 +78,11 @@ export default function ZonesBrowser({
7778 No zones match your filter '{ searchQuery } '
7879 </ Typography >
7980 { hasResultsOutsideGroups ? (
80- < div className = "mt-3 px-2 py-3 bg-surface rounded-md text-left" >
81- < Typography className = "text-xs text-foreground/70 " >
81+ < div className = "flex flex-col gap-3 mt-3 px-2 pt-4 bg-surface rounded-md text-left" >
82+ < Typography className = "text-sm text-foreground" >
8283 Results exist in Zones outside your groups.
8384 </ Typography >
84- < Typography className = "text-xs text-foreground mt-2" >
85- Change your zone display preferences to view:
86- </ Typography >
87- < div className = "flex items-center gap-2 mt-2" >
85+ < FgFormField label = "Turn off group filter to view" >
8886 < FgSwitch
8987 checked = { isFilteredByGroups }
9088 id = "sidebar_is_filtered_by_groups"
@@ -97,8 +95,9 @@ export default function ZonesBrowser({
9795 toast . error ( result . error ) ;
9896 }
9997 } }
98+ showState = { true }
10099 />
101- </ div >
100+ </ FgFormField >
102101 </ div >
103102 ) : (
104103 < Typography className = "text-xs text-foreground/60 mt-1" >
0 commit comments