Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Getting the initial data loaded
export default {
methods: {
...mapActions('messages', {
findMessages: 'find'
})
},
created () {
this.findMessages({ query: { $or: [{ to: user._id }, { from: user._id }] } })
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.