This commit is contained in:
Pradeeppon01 2024-07-13 17:02:36 +05:30
parent e88604fdaf
commit 541654db01
2 changed files with 42 additions and 1 deletions

40
dummy.txt Normal file

File diff suppressed because one or more lines are too long

View File

@ -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);