implement change requests

This commit is contained in:
Richard O'flynn 2020-12-01 00:34:41 +00:00
commit 480337f9af

View file

@ -21,7 +21,7 @@
if (_.includes(value)) {
return _.filter((i) => i !== value);
}
return [..._, value];
return selected ? [..._, value] : _; // else no update
}),
});