try to fix reactivity

This commit is contained in:
Richard O'flynn 2020-12-10 19:11:42 +00:00
commit 7cd0df918c

View file

@ -38,6 +38,8 @@
update({ value, selected });
}
$: update({ value, selected });
light = light || _light;
$: selected = $selectedValues.indexOf(value) > -1;