Skip to content

Commit

Permalink
Merge pull request #1456 from NicoPennec/fix/various
Browse files Browse the repository at this point in the history
Various fixes
  • Loading branch information
NicoPennec authored Jun 4, 2024
2 parents f9292c8 + 6713956 commit c91a59e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
Binary file removed src/assets/background/schedule-white-1.png
Binary file not shown.
2 changes: 1 addition & 1 deletion src/store/api/tasks.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ export default {
},

getTaskComment(data) {
return client.pget(`/api/data/comments/${data.id}`)
return client.pget(`/api/data/comments/${data.id}?relations=true`)
},

editTaskComment(comment) {
Expand Down
4 changes: 3 additions & 1 deletion src/store/modules/tasks.js
Original file line number Diff line number Diff line change
Expand Up @@ -1235,7 +1235,9 @@ const mutations = {

[EDIT_TASK_DATES](state, { taskId, data }) {
const task = state.taskMap.get(taskId)
Object.assign(task, data)
if (task) {
Object.assign(task, data)
}
},

[ASSIGN_TASKS](state, { selectedTaskIds, personId }) {
Expand Down

0 comments on commit c91a59e

Please sign in to comment.