In vue my data looks like this:
data: {
messages: []
}
But the data returned from the api looks like this (array of objects)
messages: Array(1)
0: Object
message: "qwerqwer"
How do I convert a array of objects into an array of arrays?