From f1288639a4d79734e732918655de6098d94ef507 Mon Sep 17 00:00:00 2001 From: Shivani Parit <58217306+paritshivani@users.noreply.github.com> Date: Mon, 7 Oct 2024 10:02:24 +0530 Subject: [PATCH 1/3] Update App.js --- packages/nulp_elite/src/App.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/nulp_elite/src/App.js b/packages/nulp_elite/src/App.js index 9293955b..7d74c5af 100644 --- a/packages/nulp_elite/src/App.js +++ b/packages/nulp_elite/src/App.js @@ -326,7 +326,7 @@ function App() { ))} - + {/* */} {/* */} From 41fb8a4cfe642b13745afa8b05a94f164cdc5936 Mon Sep 17 00:00:00 2001 From: Shivani Parit <58217306+paritshivani@users.noreply.github.com> Date: Mon, 7 Oct 2024 10:03:11 +0530 Subject: [PATCH 2/3] Update DomainList.js --- .../nulp_elite/src/pages/search/DomainList.js | 28 +------------------ 1 file changed, 1 insertion(+), 27 deletions(-) diff --git a/packages/nulp_elite/src/pages/search/DomainList.js b/packages/nulp_elite/src/pages/search/DomainList.js index bef02eee..379f0026 100644 --- a/packages/nulp_elite/src/pages/search/DomainList.js +++ b/packages/nulp_elite/src/pages/search/DomainList.js @@ -502,33 +502,7 @@ const DomainList = ({ globalSearchQuery }) => { > {error && {error}} - - - - - - {t("LERN_title")} - - - - - {t("LERN_MESSAGE")} - - - - - {lernUser === 'nulp-lern' ? ( - {t("CREATE_CONTENT")} - ) : ( - {t("REQUEST_TO_CREATE")} - )} - - - - - +

Date: Mon, 7 Oct 2024 11:25:26 +0530 Subject: [PATCH 3/3] join course issue --- packages/nulp_elite/src/App.js | 2 -- packages/nulp_elite/src/pages/content/joinCourse.js | 3 ++- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/packages/nulp_elite/src/App.js b/packages/nulp_elite/src/App.js index 7d74c5af..61a632d4 100644 --- a/packages/nulp_elite/src/App.js +++ b/packages/nulp_elite/src/App.js @@ -40,7 +40,6 @@ const routeConfig = require("./configs/routeConfig.json"); import PopupForm from "pages/profileData"; import axios from "axios"; import ReactGA from "react-ga4"; -import LernModal from "components/learnathon/LernModal"; function App() { // const [t] = useTranslation(); @@ -326,7 +325,6 @@ function App() { ))} - {/* */} {/* */} diff --git a/packages/nulp_elite/src/pages/content/joinCourse.js b/packages/nulp_elite/src/pages/content/joinCourse.js index da4be659..024c374b 100644 --- a/packages/nulp_elite/src/pages/content/joinCourse.js +++ b/packages/nulp_elite/src/pages/content/joinCourse.js @@ -76,7 +76,7 @@ const JoinCourse = () => { const [open, setOpen] = useState(false); const [chat, setChat] = useState([]); const [childnode, setChildNode] = useState([]); - const [isOwner, setIsOwner] = useState([]); + const [isOwner, setIsOwner] = useState(false); const [formData, setFormData] = useState({ message: "", }); @@ -158,6 +158,7 @@ const JoinCourse = () => { setCourseData(data); setUserData(data); if (_userId == data?.result?.content?.createdBy) { + console.log("here"); setIsOwner(true); } const identifiers =