@@ -36,12 +36,13 @@ import {
36
36
import { Spinner } from "components/Spinner/Spinner" ;
37
37
import { Switch } from "components/Switch/Switch" ;
38
38
import { useFormik } from "formik" ;
39
- import { Plus , Trash } from "lucide-react" ;
39
+ import { Plus , Trash , TriangleAlert } from "lucide-react" ;
40
40
import { type FC , useId , useState } from "react" ;
41
41
import { docs } from "utils/docs" ;
42
42
import { isUUID } from "utils/uuid" ;
43
43
import * as Yup from "yup" ;
44
44
import { OrganizationPills } from "./OrganizationPills" ;
45
+ import { Stack } from "components/Stack/Stack" ;
45
46
46
47
interface IdpSyncPageViewProps {
47
48
organizationSyncSettings : OrganizationSyncSettings | undefined ;
@@ -354,18 +355,27 @@ const IdpMappingTable: FC<IdpMappingTableProps> = ({ isEmpty, children }) => {
354
355
355
356
interface OrganizationRowProps {
356
357
idpOrg : string ;
358
+ doesIdpOrgEvenExistLol : boolean ;
357
359
coderOrgs : readonly string [ ] ;
358
360
onDelete : ( idpOrg : string ) => void ;
359
361
}
360
362
361
363
const OrganizationRow : FC < OrganizationRowProps > = ( {
362
364
idpOrg,
365
+ doesIdpOrgEvenExistLol,
363
366
coderOrgs,
364
367
onDelete,
365
368
} ) => {
366
369
return (
367
370
< TableRow data-testid = { `idp-org-${ idpOrg } ` } >
368
- < TableCell > { idpOrg } </ TableCell >
371
+ < TableCell >
372
+ < Stack direction = "row" alignItems = "center" spacing = { 1 } >
373
+ { idpOrg } { " " }
374
+ { ! doesIdpOrgEvenExistLol && (
375
+ < TriangleAlert className = "size-icon-sm cursor-pointer text-content-warning" />
376
+ ) }
377
+ </ Stack >
378
+ </ TableCell >
369
379
< TableCell >
370
380
< OrganizationPills organizations = { coderOrgs } />
371
381
</ TableCell >
0 commit comments