so I'm trying to create multiple checkboxes based on the number of decks I have.
In this example, one of the decks is called fruit. these checkboxes look like:

so if a user presses the fruit button, all fruit objects are checked. if a user presses a single button, that fruit will get marked.
But if I selected all fruits with the fruit button and then remove a single fruit like kiwi. it deletes it from the list entirely, but I just want to uncheck them:
Example:

But if I check a single object and uncheck that object, the problem is not occurring.
Example:

Here is my stack blitz link: https://stackblitz.com/edit/angular-ivy-pwgfng?file=src/app/app.component.ts
If someone would like to take a look at it.
If you have any questions, just ask. I'm happy to reply.