[Vuejs]-IndexOf refuses to work inside vue mutation when action is using promise

0👍

I was stupid enough to reassign state.items array to an object down in the code and indexOf function disappeared.

Leave a comment