Skip to content

Commit

Permalink
Merge pull request #155 from shubhambansaltarento/hotfix/CO-950
Browse files Browse the repository at this point in the history
Issue #CO-950: creator added in question editor
  • Loading branch information
gandham-santhosh authored Jun 10, 2024
2 parents b72ac29 + 383adf6 commit f8a6252
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion projects/questionset-editor-library/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@project-sunbird/sunbird-questionset-editor",
"version": "7.0.6",
"version": "7.0.7",
"dependencies": {
"tslib": "^2.0.0"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -902,6 +902,7 @@ export class QuestionComponent implements OnInit, AfterViewInit, OnDestroy {
getDefaultSessionContext() {
return _.omitBy(_.merge(
{
creator: _.get(this.editorService.editorConfig, 'context.user.fullName'),
createdBy: _.get(this.editorService.editorConfig, 'context.user.id'),
..._.pick(_.get(this.editorService.editorConfig, 'context'), ['board', 'medium', 'gradeLevel', 'subject', 'topic'])
},
Expand Down
2 changes: 1 addition & 1 deletion web-component-examples/vanilla-js/styles.css

Large diffs are not rendered by default.

Large diffs are not rendered by default.

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-questionset-editor-web-component",
"version": "3.0.3",
"version": "3.0.4",
"description": "The web component package for the sunbird questionset editor",
"main": "sunbird-questionset-editor.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion web-component/styles.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion web-component/sunbird-questionset-editor.js

Large diffs are not rendered by default.

0 comments on commit f8a6252

Please sign in to comment.