File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
apps/OpenSign/src/primitives Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ const Alert = ({ children, type }) => {
18
18
< >
19
19
{ children && (
20
20
< div
21
- className = { `z-40 fixed top-20 left-1/2 transform -translate-x-1/2 border-[1px] text-sm ${ textcolor } rounded py-[.75rem] px-[1.25rem] z-50` }
21
+ className = { `z-[1000] fixed top-20 left-1/2 transform -translate-x-1/2 border-[1px] text-sm ${ textcolor } rounded py-[.75rem] px-[1.25rem] z-50` }
22
22
>
23
23
{ children }
24
24
</ div >
Original file line number Diff line number Diff line change @@ -546,7 +546,6 @@ const ReportTable = (props) => {
546
546
const handleResendMail = async ( e , doc , user ) => {
547
547
e . preventDefault ( ) ;
548
548
setActLoader ( { [ user . objectId ] : true } ) ;
549
- setIsAlert ( true ) ;
550
549
const url = `${ localStorage . getItem ( "baseUrl" ) } functions/sendmailv3` ;
551
550
const headers = {
552
551
"Content-Type" : "application/json" ,
@@ -564,10 +563,12 @@ const ReportTable = (props) => {
564
563
try {
565
564
const res = await axios . post ( url , params , { headers : headers } ) ;
566
565
if ( res ) {
566
+ setIsAlert ( true ) ;
567
567
setAlertMsg ( { type : "success" , message : "Mail sent successfully." } ) ;
568
568
}
569
569
} catch ( err ) {
570
570
console . log ( "err in sendmail" , err ) ;
571
+ setIsAlert ( true ) ;
571
572
setAlertMsg ( {
572
573
type : "danger" ,
573
574
message : "Something went wrong, please try again later!"
You can’t perform that action at this time.
0 commit comments