ita-social-projects / SpaceToStudy-Client

MIT License
24 stars 16 forks source link

Fix resource status is changing to "open" on drag and drop #2865

Open luiqor opened 1 week ago

luiqor commented 1 week ago

On drag and drop, the resource status is changed to "open" for "closed" or "opened from" resources. This is not the expected behavior. The resource status should not be changed on drag and drop.

Expected result:

The status of the resource (Closed or Opened from) should not change on drag and drop.

Actual result:

The status of the resource changes to "Open" on drag and drop.

Demo:

https://github.com/user-attachments/assets/374f8547-0db1-4a04-a5f4-cafe46679e7b

https://github.com/user-attachments/assets/b6a13823-6314-4042-8c84-d6c3cc71d335