fix: use strict comparison

This commit is contained in:
Dominik Pschenitschni 2023-03-28 12:30:32 +02:00 committed by konrad
parent dea1789a00
commit 91e9eef582
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
) {