Fix error in unselectable behaviour

Fixed an error, that cause the "unselectable" prop behaviour to be the inverse of the expected.
This commit is contained in:
Andreas Kristensen 2023-01-30 10:51:55 +01:00 committed by GitHub
parent e4ee369259
commit 3413dda1f4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -85,7 +85,7 @@ export default {
let selected = this.isSelected(option);
if (selected && !this.unselectable) {
if (selected && this.unselectable) {
return;
}