Use sweet alert to show error message on card reader. not correctly enter the card
This commit is contained in:
Vendored
+6
-1
@@ -44,7 +44,12 @@ let handleMyKadReader = () => {
|
||||
form_search_noic.submit();
|
||||
}
|
||||
})
|
||||
.catch(error => console.log(error));
|
||||
.catch(error => {
|
||||
Swal.fire({
|
||||
icon: 'error',
|
||||
title: error,
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user