Skip to content

Commit

Permalink
Merge pull request #764 from mahajanmahesh935/eventcertificate
Browse files Browse the repository at this point in the history
Bug #230128 : [Webapp- content consumption] unable to play content wh…
  • Loading branch information
paritshivani authored Nov 12, 2024
2 parents edc5dce + c019f0f commit d50e10e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/nulp_elite/src/pages/connections/chat.js
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ const Chat = ({
const [eneteredtextValue, setEnteredTextValue] = useState("");
const charLimit = 700;
const [prefilledMessage, setPrefilledMessage] = useState(
t("HELLO_CONNECT_MESSAGE")
"Hello! I’d like to connect with you."
);
const [textValue, setTextValue] = useState("");

Expand Down
6 changes: 4 additions & 2 deletions packages/nulp_elite/src/pages/content/joinCourse.js
Original file line number Diff line number Diff line change
Expand Up @@ -162,13 +162,15 @@ const JoinCourse = () => {
setIsOwner(true);
}
let identifiers;
if (data?.result?.content?.children[0]?.children) {
if (data?.result?.content?.children[0]?.children[0]?.children) {
identifiers =
data?.result?.content?.children[0]?.children[0]?.children[0]?.identifier;
}else if(data?.result?.content?.children[0]?.children){
identifiers =
data?.result?.content?.children[0]?.children[0]?.identifier;
} else {
identifiers = data?.result?.content?.children[0]?.identifier;
}
console.log(identifiers, "setChildNode");
setChildNode(identifiers);

let allContents = [];
Expand Down

0 comments on commit d50e10e

Please sign in to comment.