Skip to content

Commit

Permalink
fix noti, add des for un-lesson
Browse files Browse the repository at this point in the history
  • Loading branch information
nganphtgit committed Aug 25, 2019
1 parent 4f0c2c4 commit e205127
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/components/lessons/Exercise.vue
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ export default {
this.isEditing = true
}
this.baywatch(
['moveHistories', 'exerciseDes', 'exerciseQues', 'exerciseName'],
['moveHistories', 'exerciseDes', 'exerciseQues', 'exerciseName', 'checkboxChessbot'],
this.checkPreviewButton.bind(this)
)
},
Expand Down
1 change: 1 addition & 0 deletions src/components/lessons/UninteractiveLesson.vue
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,7 @@ export default {
async getById(lessonId) {
const data = await lessonRepository.getById(lessonId)
this.lessonName = data.data.data.name
this.lessonDes = data.data.data.description
this.content = data.data.data.uninteractiveLesson.content
this.uninteractiveLessonId =
data.data.data.uninteractiveLesson.uninteractiveLessonId
Expand Down
4 changes: 2 additions & 2 deletions src/components/notifications/ListNotification.vue
Original file line number Diff line number Diff line change
Expand Up @@ -147,9 +147,9 @@ export default {
content: payload.data["gcm.notification.content"],
createDate: self.moment.utc().format(),
viewed: payload.data["gcm.notification.isViewed"] == "true" ? true : false,
notificationId: payload.data["gcm.notification.notificationId"],
notificationId: parseFloat(payload.data["gcm.notification.notificationId"]),
objectAvatar: payload.data["gcm.notification.objectAvatar"],
objectId: payload.data["gcm.notification.objectId"],
objectId: parseFloat(payload.data["gcm.notification.objectId"]),
objectName: payload.data["gcm.notification.objectName"],
objectTypeId: payload.data["gcm.notification.objectTypeId"],
roleTarget: payload.data["gcm.notification.roleTarget"],
Expand Down

0 comments on commit e205127

Please sign in to comment.