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