feat: status updating on the server and statuses fetching

This commit is contained in:
2025-08-04 18:49:27 +04:00
parent 24de9f5446
commit c98a5cc811
9 changed files with 277 additions and 26 deletions

View File

@ -175,7 +175,7 @@ const useDnd = (props: Props) => {
overStatusId = deal.statusId;
}
if (!overStatusId || activeStatusId === overStatusId) return;
if (!overStatusId) return;
const newRank = getNewStatusRank(activeStatusId, overStatusId);
if (!newRank) return;