Skip to content

Commit

Permalink
Merge pull request #684 from AI4Bharat/SN-826
Browse files Browse the repository at this point in the history
minor bugfix
  • Loading branch information
aparna-aa authored Sep 5, 2023
2 parents a7b185a + 3491f08 commit 7763e0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ui/pages/component/Project/TaskTable.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -407,7 +407,7 @@ const TaskTable = (props) => {
onClick={() => {
console.log("task id === ", el.id);
localStorage.removeItem("labelAll");
if ((userDetails?.prefer_cl_ui && ProjectDetails?.project_type.includes("AudioTranscription")) || ProjectDetails?.project_type.includes("Acoustic")) {
if ((userDetails?.prefer_cl_ui && ProjectDetails?.project_type?.includes("AudioTranscription")) || ProjectDetails?.project_type?.includes("Acoustic")) {
navigate(`AudioTranscriptionLandingPage/${el.id}`)
}
else{
Expand Down

0 comments on commit 7763e0b

Please sign in to comment.