Matthias Kuhs

Results 2 issues of Matthias Kuhs

Wrongly using attributes to loop through a flat array of strings

In the following line: https://github.com/academind/yt-devmeetup-vue-firebase/blob/f2c1a463810d402ef481d92d6b5be61ec4148e40/src/store/user/index.js#L18 you are using 'meetup.id' in the closure; however the registeredMeetups is a simple array of ids! So instead of this, you should use: `registeredMeetups.splice(registeredMeetups.findIndex(meetup =>...