akita
akita copied to clipboard
this.active.indexOf is not a function on removeActive
Is this a regression?
No
Description
When ActiveState is set on Store, removeActive function trigger error if active key is number.
Please provide a link to a minimal reproduction of the bug
No response
Please provide the exception or error you saw
Please provide the environment you discovered this bug in
No response
Anything else?
Data in store :
Do you want to create a pull request?
No
Any news on this? I also ran into this using akita 8.0.1.
Worked around it by extending MultiActiveState instead of ActiveState
If you setActive with string problem is fixed.
And removeActive work.