Skip to content

Commit

Permalink
Merge pull request #89 from Sunbird-inQuiry/release-7.0.0
Browse files Browse the repository at this point in the history
Issue #IQ-000 chore: Merge Release 7.0.0 into Master
  • Loading branch information
krgauraw authored Jul 3, 2024
2 parents 78d4810 + 148ff49 commit d9932eb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
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": "7.0.3",
"version": "7.0.4",
"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

0 comments on commit d9932eb

Please sign in to comment.