From 5a406467081125eef44560f2f0715e66ad4fb9c3 Mon Sep 17 00:00:00 2001 From: Rajnish Dargan Date: Mon, 29 Apr 2024 17:36:58 +0530 Subject: [PATCH 1/3] Issue #IQ-772 feat: Image is not getting in solution while previewing the question --- .../services/transformation-service/transformation.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/quml-library/src/lib/services/transformation-service/transformation.service.ts b/projects/quml-library/src/lib/services/transformation-service/transformation.service.ts index a1f5625d..4ad2a751 100644 --- a/projects/quml-library/src/lib/services/transformation-service/transformation.service.ts +++ b/projects/quml-library/src/lib/services/transformation-service/transformation.service.ts @@ -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; From dd329181067d5983b993915ffc8e7c70519dbe70 Mon Sep 17 00:00:00 2001 From: Rajnish Dargan Date: Mon, 29 Apr 2024 17:41:22 +0530 Subject: [PATCH 2/3] Issue #IQ-772 feat: Updating package version --- projects/quml-library/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/quml-library/package.json b/projects/quml-library/package.json index 1b282a5a..c6706399 100644 --- a/projects/quml-library/package.json +++ b/projects/quml-library/package.json @@ -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" From dc205e6700eb6116ff1445993308f405959fda79 Mon Sep 17 00:00:00 2001 From: Rajnish Dargan Date: Thu, 9 May 2024 15:32:51 +0530 Subject: [PATCH 3/3] Issue #IQ-IQ-767 fix: Updated library and web component version --- projects/quml-library/package.json | 2 +- web-component/package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/projects/quml-library/package.json b/projects/quml-library/package.json index ed84e146..05afc1d0 100644 --- a/projects/quml-library/package.json +++ b/projects/quml-library/package.json @@ -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" diff --git a/web-component/package.json b/web-component/package.json index e79e3927..30773661 100644 --- a/web-component/package.json +++ b/web-component/package.json @@ -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": {