fix(): Hotfix assertions tag add / remove (#13216)

Co-authored-by: John Joyce <john@Mac-2447.lan>
This commit is contained in:
John Joyce 2025-04-15 18:52:49 -07:00 committed by GitHub
parent 6cc3fff57f
commit b2e3d0c1c6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 1 deletions

View File

@ -40,7 +40,7 @@ export const SelectItemCheckboxGroup: React.FC<SelectItemCheckboxGroupProps> = (
<Checkbox
value={option.value}
isChecked={selectedOptions.includes(option.value)}
onChange={() => handleCheckboxToggle(option.value)}
setIsChecked={() => handleCheckboxToggle(option.value)}
/>
</StyledCheckboxLabel>
))}

View File

@ -149,6 +149,7 @@ export const useEntityOperations = ({
const addedItems = isRemoveAll
? []
: selectedOptions.filter((entity) => !olderSelectedEntities?.includes(entity));
handleSelectionChange({ selectedItems: addedItems, removedItems });
setSearchText('');
};