@@ -129,7 +129,7 @@ function Login(props) {
129129 ) ;
130130 if ( rolesfiltered . length > 0 ) {
131131 _currentRole = rolesfiltered [ 0 ] ;
132- }
132+ }
133133 } else {
134134 const rolesfiltered = userRoles . filter (
135135 ( x ) => ! valuesToExclude . includes ( x )
@@ -472,7 +472,7 @@ function Login(props) {
472472 ) ;
473473 if ( rolesfiltered . length > 0 ) {
474474 _currentRole = rolesfiltered [ 0 ] ;
475- }
475+ }
476476 } else {
477477 const rolesfiltered = userRoles . filter (
478478 ( x ) => ! valuesToExclude . includes ( x )
@@ -655,7 +655,6 @@ function Login(props) {
655655 } else {
656656 setThirdpartyLoader ( false ) ;
657657 setState ( { ...state , loading : false } ) ;
658-
659658 }
660659 } )
661660 . catch ( ( err ) => {
@@ -1171,7 +1170,7 @@ function Login(props) {
11711170 < div className = "modal-dialog" role = "document" >
11721171 < div className = "modal-content" >
11731172 < div className = "modal-header" >
1174- < h5 className = "modal-title" > Login form </ h5 >
1173+ < h5 className = "modal-title font-semibold" > Additional Info </ h5 >
11751174 < span >
11761175 < span > </ span >
11771176 </ span >
@@ -1227,18 +1226,19 @@ function Login(props) {
12271226 < div className = "mt-4" >
12281227 < button
12291228 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 } }
12331232 >
1234- Cancel
1233+ Login
12351234 </ button >
12361235 < button
12371236 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 } }
12401240 >
1241- Login
1241+ Cancel
12421242 </ button >
12431243 </ div >
12441244 </ form >
0 commit comments