Skip to content
This repository has been archived by the owner on Jan 2, 2022. It is now read-only.

Commit

Permalink
Merge pull request #78 from jcmnunes/hotfix/error-while-dragging-task…
Browse files Browse the repository at this point in the history
…s-in-plan

hotfix/error-while-dragging-tasks-in-plan
  • Loading branch information
jcmnunes authored Mar 11, 2021
2 parents 290ea6a + 3001d12 commit b5a5163
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion backend/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "widy-backend",
"version": "0.12.0",
"version": "0.14.1",
"description": "Widy app backend",
"main": "build/index.js",
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion frontend/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "widy-frontend",
"version": "0.12.0",
"version": "0.14.1",
"private": true,
"proxy": "http://localhost:5000",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/features/day/api/useMoveTaskMutation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ export const useMoveTaskMutation = () => {
}

// Move to the Plan (not from schedule)
if (isToThePlan && !isFromTheSchedule) {
if (isToThePlan && !isFromThePlan && !isFromTheSchedule) {
// If the draggable is the active task ➜ stop it
if (previousActiveTask?.taskId === taskId) {
queryClient.setQueryData('activeTask', emptyActiveTask);
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "widy",
"version": "0.12.0",
"version": "0.14.1",
"description": "Widy - What I did yesterday",
"repository": {
"type": "git",
Expand Down

0 comments on commit b5a5163

Please # to comment.