mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-18 03:26:36 +00:00
implement change requests
This commit is contained in:
parent
10da838509
commit
480337f9af
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@
|
|||
if (_.includes(value)) {
|
||||
return _.filter((i) => i !== value);
|
||||
}
|
||||
return [..._, value];
|
||||
return selected ? [..._, value] : _; // else no update
|
||||
}),
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue