From 6bd342ba4d5ef755102f9d12ffa337861f6ae499 Mon Sep 17 00:00:00 2001 From: kartikvirendrar Date: Fri, 19 Apr 2024 10:23:04 +0530 Subject: [PATCH] changed clear mergings color to red --- src/ui/pages/container/Label-Studio/LSF.jsx | 15 +++++++-------- src/ui/pages/container/Label-Studio/ReviewLSF.jsx | 5 +++-- .../container/Label-Studio/SuperCheckerLSF.jsx | 5 +++-- .../container/Label-Studio/labelConfigJSX.js | 2 +- 4 files changed, 14 insertions(+), 13 deletions(-) diff --git a/src/ui/pages/container/Label-Studio/LSF.jsx b/src/ui/pages/container/Label-Studio/LSF.jsx index 53855c9c..f2fddc6b 100644 --- a/src/ui/pages/container/Label-Studio/LSF.jsx +++ b/src/ui/pages/container/Label-Studio/LSF.jsx @@ -1026,7 +1026,7 @@ const LabelStudioWrapper = ({ className="lsf-controls" >
- + - {/* */} - {taskData?.annotation_users?.some( (user) => user === userData.id ) && @@ -1073,8 +1071,6 @@ const LabelStudioWrapper = ({ )} - - {/* {localStorage.getItem("labelAll") === "true" ? ( */} + }
diff --git a/src/ui/pages/container/Label-Studio/ReviewLSF.jsx b/src/ui/pages/container/Label-Studio/ReviewLSF.jsx index 2f5b0f2e..d512c6fc 100644 --- a/src/ui/pages/container/Label-Studio/ReviewLSF.jsx +++ b/src/ui/pages/container/Label-Studio/ReviewLSF.jsx @@ -1332,7 +1332,7 @@ useEffect(() => { )} - {ProjectDetails?.project_type?.includes("OCRSegmentCategorization") && + {ProjectDetails?.project_type?.includes("OCR") && } diff --git a/src/ui/pages/container/Label-Studio/SuperCheckerLSF.jsx b/src/ui/pages/container/Label-Studio/SuperCheckerLSF.jsx index 4ff305fd..5948314f 100644 --- a/src/ui/pages/container/Label-Studio/SuperCheckerLSF.jsx +++ b/src/ui/pages/container/Label-Studio/SuperCheckerLSF.jsx @@ -1079,7 +1079,7 @@ useEffect(() => { )} - {ProjectDetails?.project_type?.includes("OCRSegmentCategorization") && + {ProjectDetails?.project_type?.includes("OCR") && } diff --git a/src/ui/pages/container/Label-Studio/labelConfigJSX.js b/src/ui/pages/container/Label-Studio/labelConfigJSX.js index eb0a567c..3460a84f 100644 --- a/src/ui/pages/container/Label-Studio/labelConfigJSX.js +++ b/src/ui/pages/container/Label-Studio/labelConfigJSX.js @@ -50,6 +50,6 @@ export const labelConfigJS = ` - + `;