@@ -129,7 +129,7 @@ function Login(props) {
129
129
) ;
130
130
if ( rolesfiltered . length > 0 ) {
131
131
_currentRole = rolesfiltered [ 0 ] ;
132
- }
132
+ }
133
133
} else {
134
134
const rolesfiltered = userRoles . filter (
135
135
( x ) => ! valuesToExclude . includes ( x )
@@ -472,7 +472,7 @@ function Login(props) {
472
472
) ;
473
473
if ( rolesfiltered . length > 0 ) {
474
474
_currentRole = rolesfiltered [ 0 ] ;
475
- }
475
+ }
476
476
} else {
477
477
const rolesfiltered = userRoles . filter (
478
478
( x ) => ! valuesToExclude . includes ( x )
@@ -655,7 +655,6 @@ function Login(props) {
655
655
} else {
656
656
setThirdpartyLoader ( false ) ;
657
657
setState ( { ...state , loading : false } ) ;
658
-
659
658
}
660
659
} )
661
660
. catch ( ( err ) => {
@@ -1171,7 +1170,7 @@ function Login(props) {
1171
1170
< div className = "modal-dialog" role = "document" >
1172
1171
< div className = "modal-content" >
1173
1172
< div className = "modal-header" >
1174
- < h5 className = "modal-title" > Login form </ h5 >
1173
+ < h5 className = "modal-title font-semibold" > Additional Info </ h5 >
1175
1174
< span >
1176
1175
< span > </ span >
1177
1176
</ span >
@@ -1227,18 +1226,19 @@ function Login(props) {
1227
1226
< div className = "mt-4" >
1228
1227
< button
1229
1228
type = "button"
1230
- className = "bg-[#6c757d ] text-sm p-2 text-white rounded uppercase"
1231
- onClick = { handleCloseModal }
1232
- style = { { marginRight : 10 , width : 90 } }
1229
+ className = "bg-[#17a2b8 ] text-sm p-2 text-white rounded uppercase"
1230
+ onClick = { ( e ) => handleSubmitbtn ( e ) }
1231
+ style = { { marginRight : 10 } }
1233
1232
>
1234
- Cancel
1233
+ Login
1235
1234
</ button >
1236
1235
< button
1237
1236
type = "button"
1238
- className = "bg-[#17a2b8] text-sm p-2 text-white rounded uppercase"
1239
- onClick = { ( e ) => handleSubmitbtn ( e ) }
1237
+ className = "bg-[#6c757d] text-sm p-2 text-white rounded uppercase"
1238
+ onClick = { handleCloseModal }
1239
+ style = { { width : 90 } }
1240
1240
>
1241
- Login
1241
+ Cancel
1242
1242
</ button >
1243
1243
</ div >
1244
1244
</ form >
0 commit comments