latest
This commit is contained in:
parent
e88604fdaf
commit
541654db01
|
|
@ -114,6 +114,7 @@ const QueryExecutor = () => {
|
||||||
}
|
}
|
||||||
if (
|
if (
|
||||||
!query.includes("image_name") &&
|
!query.includes("image_name") &&
|
||||||
|
!query.includes("*") &&
|
||||||
query.includes("ocr_scanned_part_c_v1")
|
query.includes("ocr_scanned_part_c_v1")
|
||||||
) {
|
) {
|
||||||
alert("Selecting primary Key (image_name) is mandatory");
|
alert("Selecting primary Key (image_name) is mandatory");
|
||||||
|
|
@ -147,7 +148,7 @@ const QueryExecutor = () => {
|
||||||
setCurrentPage(1);
|
setCurrentPage(1);
|
||||||
setResponseData(data.results.slice(0, recordsPerPage));
|
setResponseData(data.results.slice(0, recordsPerPage));
|
||||||
} else {
|
} else {
|
||||||
// toast.error(data.message);
|
toast.error(data.message);
|
||||||
}
|
}
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.error("Error:", error);
|
console.error("Error:", error);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue