0👍
Ok never mind I figured it out. Filter creates a shallow copy. I did not know that. So it will keep a reference to the original object.
https://developer.mozilla.org/en-US/docs/Glossary/Shallow_copy
- [Vuejs]-Vue: How to merge object props with default values
- [Vuejs]-How to allow a user to choose a Group Pool on sign-up in VueJS with AWS Amplify?
Source:stackexchange.com