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

Issue #IQ-IQ-767 fix: Audio is not getting in solution field while previewing question #86

Merged
merged 5 commits into from
May 9, 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 projects/quml-library/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@project-sunbird/sunbird-quml-player",
"version": "8.0.1",
"version": "8.0.2",
"schematics": "./schematics/collection.json",
"ng-add": {
"save": "dependencies"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ export class TransformationService {
processSolutions(data) {
const solutions = _.get(data, 'solutions', []);

if (!_.isEmpty(solutions)) {
if (!_.isEmpty(solutions) && _.isArray(solutions)) {
const updatedSolutions = _.reduce(solutions, (result, solution) => {
result[_.get(solution, 'id')] = this.getSolutionString(solution, _.get(data, 'media', []));
return result;
Expand Down
2 changes: 1 addition & 1 deletion web-component/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@project-sunbird/sunbird-quml-player-web-component",
"version": "4.0.1",
"version": "4.0.2",
"description": "The web component package for the sunbird QuML player",
"main": "sunbird-quml-player.js",
"scripts": {
Expand Down
31 changes: 16 additions & 15 deletions web-component/sunbird-quml-player.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.