Commit dcf3811b authored by samdbeckham's avatar samdbeckham

Fixed a bug that allowed you to select undefined

parent 38329479
......@@ -25,6 +25,11 @@ export default {
});
}
// This prevents us from selecting nothing at all
if (!activeOptions.find(option => option.selected)) {
activeOptions[0].selected = true;
}
activeFilter.options = activeOptions;
}
},
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment