File tree Expand file tree Collapse file tree 2 files changed +5
-8
lines changed
pages/ManagementSettingsPage/IdpSyncPage Expand file tree Collapse file tree 2 files changed +5
-8
lines changed Original file line number Diff line number Diff line change @@ -75,10 +75,7 @@ const OverflowPill: FC<OverflowPillProps> = ({ roles }) => {
75
75
} }
76
76
>
77
77
{ roles . map ( ( role ) => (
78
- < Pill
79
- key = { role }
80
- css = { isUUID ( role ) ? styles . errorPill : styles . pill }
81
- >
78
+ < Pill key = { role } css = { isUUID ( role ) ? styles . errorPill : styles . pill } >
82
79
{ role }
83
80
</ Pill >
84
81
) ) }
Original file line number Diff line number Diff line change 1
- export const isUUID = ( text :string ) => {
2
- const UUID = / ^ [ 0 - 9 a - f ] { 8 } - [ 0 - 9 a - f ] { 4 } - [ 0 - 5 ] [ 0 - 9 a - f ] { 3 } - [ 8 9 a b ] [ 0 - 9 a - f ] { 3 } - [ 0 - 9 a - f ] { 12 } $ / i;
1
+ export const isUUID = ( text : string ) => {
2
+ const UUID =
3
+ / ^ [ 0 - 9 a - f ] { 8 } - [ 0 - 9 a - f ] { 4 } - [ 0 - 5 ] [ 0 - 9 a - f ] { 3 } - [ 8 9 a b ] [ 0 - 9 a - f ] { 3 } - [ 0 - 9 a - f ] { 12 } $ / i;
3
4
return UUID . test ( text ) ;
4
- }
5
-
5
+ } ;
You can’t perform that action at this time.
0 commit comments