Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug #230128 : [Webapp- content consumption] unable to play content wh… #764

Merged
merged 1 commit into from
Nov 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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."
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add lang const

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@paritshivani we haven't used this variable anywhere in code someone has declared it and not used

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

also using langugae constant before intitializing library is not possible

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