diff --git a/modules/modes/select.js b/modules/modes/select.js index 5354a9fe1..077fc670c 100644 --- a/modules/modes/select.js +++ b/modules/modes/select.js @@ -117,7 +117,7 @@ export function modeSelect(context, selectedIDs) { function singularParent() { var parents = commonParents(); - if (!parents) { + if (!parents || parents.length === 0) { relatedParent = null; return null; }