We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4cd186a commit 3f1d4deCopy full SHA for 3f1d4de
1 file changed
packages/core/src/utilities/getClosestImageId.ts
@@ -35,7 +35,7 @@ export default function getClosestImageId(
35
const { direction, spacing, imageIds } = imageVolume;
36
const { ignoreSpacing = false } = options || {};
37
38
- if (imageIds?.length) {
+ if (!imageIds?.length) {
39
return;
40
}
41
0 commit comments