I have an array of objects of which I am trying to remove the duplicate elements from.
BUT with a condition. I only want to remove the ones where title === title
If it does equal title, then it should remove the object without the taggedPosts property
End result would look like this
I've tried a lot of ways, but they all seem to only return the ones without the taggedPosts property and remove the ones with that property which is not what I want. Particularly _.uniq(array) from lodash.
Thanks for the help.

