Merged in afiqhamzah/fix/ps-validation (pull request #87)
Fix ps validation
This commit is contained in:
@@ -573,7 +573,7 @@
|
||||
})
|
||||
.then(historygadaian => {
|
||||
|
||||
if(historygadaian === '0' || historygadaian === null || historygadaian.length === 0) {
|
||||
if(historygadaian == '0' || historygadaian === null || historygadaian.length === 0) {
|
||||
return false;
|
||||
}
|
||||
|
||||
@@ -1626,7 +1626,7 @@
|
||||
|
||||
let isPS = checkPS(selected.value)
|
||||
|
||||
if(isPS){
|
||||
if(isPS === true){
|
||||
Swal.fire({
|
||||
icon: 'error',
|
||||
title: 'Amaran',
|
||||
|
||||
Reference in New Issue
Block a user