I am looking to create a matrix display from an array of objects, but the properties of the objects may change over time. Here is an example of the data:
[
{
location: "Japan",
webhookStatus: "Up",
authenticationStatus: "Down",
indexingStatus: "Under Maintenance"
},
{
location: "USA",
webhookStatus: "Up",
indexingStatus: "Under Maintenance"
},
{
location: "Japan",
webhookStatus: "Up",
authenticationStatus: "Up",
indexingStatus: "Down"
},
{
location: "Japan",
webhookStatus: "Up",
authenticationStatus: "Down",
indexingStatus: "Under Maintenance",
databaseStatus: "Down"
}
]
I want to represent this data in a matrix format, such as a grid or table. I can use v-for
to loop through the array, but I also need to dynamically iterate through the changing properties and values of each object.
If you have any ideas on how to achieve this, please share!