@@ -15,6 +15,12 @@ import { ErrorAlert } from "components/Alert/ErrorAlert";
15
15
import { Button } from "components/Button/Button" ;
16
16
import { ChooseOne , Cond } from "components/Conditionals/ChooseOne" ;
17
17
import { EmptyState } from "components/EmptyState/EmptyState" ;
18
+ import {
19
+ HelpTooltip ,
20
+ HelpTooltipContent ,
21
+ HelpTooltipText ,
22
+ HelpTooltipTrigger ,
23
+ } from "components/HelpTooltip/HelpTooltip" ;
18
24
import { Input } from "components/Input/Input" ;
19
25
import { Label } from "components/Label/Label" ;
20
26
import { Loader } from "components/Loader/Loader" ;
@@ -42,7 +48,7 @@ interface IdpSyncPageViewProps {
42
48
error ?: unknown ;
43
49
}
44
50
45
- export const IdpSyncPageView : FC < IdpSyncPageViewProps > = ( {
51
+ export const IdpOrgSyncPageView : FC < IdpSyncPageViewProps > = ( {
46
52
organizationSyncSettings,
47
53
organizations,
48
54
onSubmit,
@@ -136,9 +142,12 @@ export const IdpSyncPageView: FC<IdpSyncPageViewProps> = ({
136
142
form . handleSubmit ( ) ;
137
143
} }
138
144
/>
139
- < Label htmlFor = { ORGANIZATION_ASSIGN_DEFAULT_ID } >
140
- Assign Default Organization
141
- </ Label >
145
+ < span className = "flex flex-row items-center gap-1" >
146
+ < Label htmlFor = { ORGANIZATION_ASSIGN_DEFAULT_ID } >
147
+ Assign Default Organization
148
+ </ Label >
149
+ < AssignDefaultOrgHelpTooltip />
150
+ </ span >
142
151
</ div >
143
152
</ div >
144
153
< p className = "text-content-secondary text-2xs m-0" >
@@ -330,4 +339,17 @@ const TableLoader = () => {
330
339
) ;
331
340
} ;
332
341
333
- export default IdpSyncPageView ;
342
+ export const AssignDefaultOrgHelpTooltip : FC = ( ) => {
343
+ return (
344
+ < HelpTooltip >
345
+ < HelpTooltipTrigger />
346
+ < HelpTooltipContent >
347
+ < HelpTooltipText >
348
+ Disabling will remove all users from the default organization.
349
+ </ HelpTooltipText >
350
+ </ HelpTooltipContent >
351
+ </ HelpTooltip >
352
+ ) ;
353
+ } ;
354
+
355
+ export default IdpOrgSyncPageView ;
0 commit comments