Skip to content

Commit

Permalink
Merge pull request #1451 from NicoPennec/feat/drop-task-team-schedule
Browse files Browse the repository at this point in the history
Drag & drop unassigned tasks in Team Schedule
  • Loading branch information
frankrousseau authored May 31, 2024
2 parents cb1d36e + f446ed2 commit c592cba
Show file tree
Hide file tree
Showing 6 changed files with 484 additions and 71 deletions.
4 changes: 2 additions & 2 deletions src/components/lists/KanbanBoard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -354,8 +354,8 @@ export default {
},
onCardDragEnter(event, taskStatus) {
this.isAllowed = this.checkUserIsAllowed(taskStatus, this.user)
if (this.isAllowed) {
const isAllowed = this.checkUserIsAllowed(taskStatus, this.user)
if (isAllowed) {
event.currentTarget.classList.add('droppable')
}
},
Expand Down
Loading

0 comments on commit c592cba

Please sign in to comment.