I need my table slot to display a specific image from a url from an array of records. The record would be
at monuments.proofs.urlfromresponse when monuments.proofs.Front = “Shape”
"monuments": [{
"proofs": [{
"Front": "Front",
"urlfromresponse": "https://cdn.filestackcontent.com/7sfQtscfgrfFO0SbsJ98",
"version": "Current"
}, {
"Front": "Shape",
"urlfromresponse": "https://cdn.filestackcontent.com/7sfQt2hcsdcfFO0SbsJ98",
"version": "Current"
},{
"Front": "Back",
"urlfromresponse": "https://cdn.filestackcontent.com/7sfQt2hRzu4O0SbsJ98",
"version": "Current"
},{
"Front": "Other",
"urlfromresponse": "https://cdn.filestackcontent.com/7sfQt25ty7RrfFO0SbsJ98",
"version": "Current"
},{
"Front": "Back",
"urlfromresponse": "https://cdn.filestackcontent.com/7sfQbm75rFO0SbsJ98",
"version": "Rejected"
}]
}]
Slot:
<div class="w-12 h-12">
<img v-for="shape in _.filter(model.monuments.proofs , function record=>{ return record.Front ==='Shape'" :src="shape.urlfromresponse" />
</div>