fix: use strict comparison #3319

Merged
konrad merged 1 commits from dpschen/frontend:fix-strict-comparison into main 2023-03-28 10:49:36 +00:00
1 changed files with 1 additions and 1 deletions

View File

@ -427,7 +427,7 @@ async function updateTaskPosition(e) {
taskAfter !== null ? taskAfter.kanbanPosition : null,
)
if (
oldBucket != undefined && // This shouldn't actually be `undefined`, but let's play it safe.
oldBucket !== undefined && // This shouldn't actually be `undefined`, but let's play it safe.
newBucket.id !== oldBucket.id &&
newBucket.isDoneBucket !== oldBucket.isDoneBucket
) {