-
I've got a vuex action where I do context.state.someArray.findIndex() and it is consistently running ONE time and not iterating over the array and not properly passing an array instance in. Is this expected?
-
…in reply to @raymondcamden
A bit of code: if(context.state.feeds.findIndex((feed) => { console.log('comp '+feed.rsslink+' to '+data.url); return (feed.rsslink === data.url); }) >= 0) { reject('URL already exists'); in the snippet above, feed is undefined